#E5C666#E5C666

#E5C666 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.4% C 0.121 H 91.7°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#E5C666
RGBrgb(229, 198, 102)
HSLhsl(45, 71%, 65%)
HSVhsv(45, 55%, 90%)
CMYKcmyk(0%, 13.5%, 55.5%, 10.2%)
CIE-LABlab(80.74, -0.57, 51.48)
CIE-LCHlch(80.74, 51.48, 90.64°)
OKLaboklab(83.39% -0.0037 0.1208)
OKLCHoklch(83.39% 0.121 91.7)
XYZxyz(54.9077, 58.0082, 20.8723)
Luminance0.5800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C666 #6685E5
analogous
#E58666 #E5C666 #C5E566
triadic
#E5C666 #66E5C6 #C666E5
tetradic
#E5C666 #66E586 #6685E5 #E566C5
square
#E5C666 #66E586 #6685E5 #E566C5
split-complementary
#E5C666 #66C5E5 #8666E5
monochromatic
#B28E1E #DCB332 #E5C666 #EED99A #F7EDCF

Accessibility & contrast

On white

1.67
#E5C666 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#E5C666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C666
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C666#FFFFFF#000000##000000
##E5C6661.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C35D
Deuteranopia (green-blind)
#E0CC6A
Tritanopia (blue-blind)
#F5B9B0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e5c666;
/* rgb */ color: rgb(229, 198, 102);
/* oklch */ color: oklch(83.4% 0.121 91.7);
Tailwind
colors: {
  custom: {
    50: '#f0d794',
    500: '#e5c666',
    950: '#000000',
  },
}
SCSS
$custom: #e5c666;
$custom-light: #f0d794;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c666",
  "rgb": {
    "r": 229,
    "g": 198,
    "b": 102
  },
  "hsl": {
    "h": 45.354,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.83388,
    "c": 0.12084,
    "h": 91.7
  },
  "luminance": 0.58005
}

Semantic roles & 50–950 ramp

primary
#E5C666
secondary
#3C59B3
accent
#42D313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E5C666

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

Preview Lab → · Contrast checker → · Palette generator →

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