#FFE766

#FFE766 is the hex color Khaki. Here are its RGB, HSL, HSV, CMYK, and OKLCH values, ready-made shades and palettes, and the text colors that stay readable on it.

This is the nearest named color to #FFE766; the exact match is none.

Open #FFE766 in the picker

#FFE766 color codes

HEX
#FFE766
HEX8
#FFE766FF
HEX8 (Android)
#FFFFE766
RGB
rgb(255, 231, 102)
RGB (%)
100%, 91%, 40%
HSL
hsl(51, 100%, 70%)
HSV / HSB
hsv(51, 60%, 100%)
CMYK
cmyk(0%, 9%, 60%, 0%)
OKLCH
oklch(0.9236 0.1494 98.83)
OKLCH (%)
oklch(92.36% 0.1494 98.83)
Decimal
16770918

What color is #FFE766?

#FFE766 sits at 92% lightness and 0.1494 chroma in OKLCH, hue 98.83°. Its nearest named color is Khaki.

Shades and tints of #FFE766

Tints

Shades

Tones

#FFE766 color harmonies

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Square

Monochromatic

Using #FFE766 in CSS

.text       { color: #FFE766; }
.background { background-color: #FFE766; }
.border     { border: 2px solid #FFE766; }

/* Modern, perceptually uniform */
.text { color: oklch(0.9236 0.1494 98.83); }

/* #FFE766 at 50% transparency */
.overlay { background-color: #FFE76680; }

Is #FFE766 accessible?

#FFE766 on white text scores 1.24:1; on black text it scores 16.87:1. Black text passes WCAG AAA on #FFE766. Recommended text color on a #FFE766 background: black.

A 16.87:1 vs black
A 1.24:1 vs white
  • AA normal ≥ 4.5 Pass
  • AA large ≥ 3 Pass
  • AAA normal ≥ 7 Pass
  • AAA large ≥ 4.5 Pass

Recommended text color: black

CSS contrast-color() contrast-color(#FFE766) → black
APCA Lc experimental 91.6 Lc · body text — preferred (black text)

WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.

Related colors

Nearest featured color: Gold #FFD700. See more in the yellow family on the colors hub.

Frequently asked questions

What color is #FFE766?
#FFE766 is closest to Khaki. In RGB it is rgb(255, 231, 102), and in HSL hsl(51, 100%, 70%).
What is #FFE766 in RGB?
#FFE766 converts to rgb(255, 231, 102) — red 255, green 231, blue 102.
What text color is readable on #FFE766?
Black text — it has the higher contrast ratio (16.87:1) against #FFE766. Black text passes WCAG AAA on #FFE766.
Open #FFE766 in the picker