#E4C866#E4C866

#E4C866 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.7% C 0.122 H 93.7°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#E4C866
RGBrgb(228, 200, 102)
HSLhsl(47, 70%, 65%)
HSVhsv(47, 55%, 89%)
CMYKcmyk(0%, 12.3%, 55.3%, 10.6%)
CIE-LABlab(81.16, -2.02, 51.95)
CIE-LCHlch(81.16, 51.99, 92.23°)
OKLaboklab(83.7% -0.0078 0.1218)
OKLCHoklch(83.7% 0.122 93.7)
XYZxyz(55.0496, 58.7644, 21.0108)
Luminance0.5876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C866 #6682E4
analogous
#E48966 #E4C866 #C1E466
triadic
#E4C866 #66E4C8 #C866E4
tetradic
#E4C866 #66E489 #6682E4 #E466C1
square
#E4C866 #66E489 #6682E4 #E466C1
split-complementary
#E4C866 #66C1E4 #8966E4
monochromatic
#B0901F #DBB532 #E4C866 #EDDB9A #F6EDCE

Accessibility & contrast

On white

1.65
#E4C866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#E4C866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C866
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C866#FFFFFF#000000##000000
##E4C8661.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC55D
Deuteranopia (green-blind)
#E1CD6A
Tritanopia (blue-blind)
#F4BBB2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e4c866;
/* rgb */ color: rgb(228, 200, 102);
/* oklch */ color: oklch(83.7% 0.122 93.7);
Tailwind
colors: {
  custom: {
    50: '#efd894',
    500: '#e4c866',
    950: '#000000',
  },
}
SCSS
$custom: #e4c866;
$custom-light: #efd894;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c866",
  "rgb": {
    "r": 228,
    "g": 200,
    "b": 102
  },
  "hsl": {
    "h": 46.667,
    "s": 70,
    "l": 64.706
  },
  "oklch": {
    "l": 0.83697,
    "c": 0.12206,
    "h": 93.7
  },
  "luminance": 0.58762
}

Semantic roles & 50–950 ramp

primary
#E4C866
secondary
#3D57B1
accent
#3ED214
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E4C866

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

Preview Lab → · Contrast checker → · Palette generator →

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