#E2CF66#E2CF66

#E2CF66 is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.9% C 0.127 H 99.2°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#E2CF66
RGBrgb(226, 207, 102)
HSLhsl(51, 68%, 64%)
HSVhsv(51, 55%, 89%)
CMYKcmyk(0%, 8.4%, 54.9%, 11.4%)
CIE-LABlab(82.78, -6.43, 53.79)
CIE-LCHlch(82.78, 54.17, 96.82°)
OKLaboklab(84.94% -0.0204 0.1258)
OKLCHoklch(84.94% 0.127 99.2)
XYZxyz(56.0771, 61.7559, 21.5340)
Luminance0.6175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CF66 #6679E2
analogous
#E29166 #E2CF66 #B7E266
triadic
#E2CF66 #66E2CF #CF66E2
tetradic
#E2CF66 #66E291 #6679E2 #E266B7
square
#E2CF66 #66E291 #6679E2 #E266B7
split-complementary
#E2CF66 #66B7E2 #9166E2
monochromatic
#AD9721 #D8BF33 #E2CF66 #ECDF99 #F6EFCD

Accessibility & contrast

On white

1.57
#E2CF66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.35
#E2CF66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CF66
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CF66#FFFFFF#000000##000000
##E2CF661.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA5C
Deuteranopia (green-blind)
#E5D16B
Tritanopia (blue-blind)
#F1C2B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e2cf66;
/* rgb */ color: rgb(226, 207, 102);
/* oklch */ color: oklch(84.9% 0.127 99.2);
Tailwind
colors: {
  custom: {
    50: '#eedd95',
    500: '#e2cf66',
    950: '#000000',
  },
}
SCSS
$custom: #e2cf66;
$custom-light: #eedd95;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cf66",
  "rgb": {
    "r": 226,
    "g": 207,
    "b": 102
  },
  "hsl": {
    "h": 50.806,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.84939,
    "c": 0.12749,
    "h": 99.2
  },
  "luminance": 0.61754
}

Semantic roles & 50–950 ramp

primary
#E2CF66
secondary
#3E4FAE
accent
#32D015
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2CF66

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

Preview Lab → · Contrast checker → · Palette generator →

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