#FFE866#FFE866

#FFE866 is a very light, vivid yellow. Relative luminance 0.799; OKLCH L 92.6% C 0.150 H 99.3°. Best body text is #000000 at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#FFE866
RGBrgb(255, 232, 102)
HSLhsl(51, 100%, 70%)
HSVhsv(51, 60%, 100%)
CMYKcmyk(0%, 9%, 60%, 0%)
CIE-LABlab(91.66, -7.19, 64.50)
CIE-LCHlch(91.66, 64.90, 96.36°)
OKLaboklab(92.56% -0.0243 0.1482)
OKLCHoklch(92.56% 0.15 99.3)
XYZxyz(72.4978, 79.9356, 24.1781)
Luminance0.7993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE866 #667DFF
analogous
#FF9B66 #FFE866 #CAFF66
triadic
#FFE866 #66FFE8 #E866FF
tetradic
#FFE866 #66FF9B #667DFF #FF66CA
square
#FFE866 #66FF9B #667DFF #FF66CA
split-complementary
#FFE866 #66CAFF #9B66FF
monochromatic
#EBC700 #FFDF29 #FFE866 #FFF1A3 #FFFAE0

Accessibility & contrast

On white

1.24
#FFE866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.99
#FFE866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE866
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE866#FFFFFF#000000##000000
##FFE8661.001.2416.9916.99
#FFFFFF1.241.0021.0021.00
#00000016.9921.001.001.00
##00000016.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE258
Deuteranopia (green-blind)
#FFEB6D
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ffe866;
/* rgb */ color: rgb(255, 232, 102);
/* oklch */ color: oklch(92.6% 0.150 99.3);
Tailwind
colors: {
  custom: {
    50: '#ffef96',
    500: '#ffe866',
    950: '#000000',
  },
}
SCSS
$custom: #ffe866;
$custom-light: #ffef96;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe866",
  "rgb": {
    "r": 255,
    "g": 232,
    "b": 102
  },
  "hsl": {
    "h": 50.98,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.92562,
    "c": 0.15019,
    "h": 99.3
  },
  "luminance": 0.79933
}

Semantic roles & 50–950 ramp

primary
#FFE866
secondary
#2F49DA
accent
#23E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#19160E
muted
#87857F

Preview Lab

Preview with #FFE866

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#FFE866 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva