#E2CF64#E2CF64

#E2CF64 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.9% C 0.129 H 99.4°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#E2CF64
RGBrgb(226, 207, 100)
HSLhsl(51, 68%, 64%)
HSVhsv(51, 56%, 89%)
CMYKcmyk(0%, 8.4%, 55.8%, 11.4%)
CIE-LABlab(82.76, -6.59, 54.69)
CIE-LCHlch(82.76, 55.09, 96.87°)
OKLaboklab(84.92% -0.0211 0.1276)
OKLCHoklch(84.92% 0.129 99.4)
XYZxyz(55.9791, 61.7167, 21.0180)
Luminance0.6171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CF64 #6477E2
analogous
#E29064 #E2CF64 #B6E264
triadic
#E2CF64 #64E2CF #CF64E2
tetradic
#E2CF64 #64E290 #6477E2 #E264B6
square
#E2CF64 #64E290 #6477E2 #E264B6
split-complementary
#E2CF64 #64B6E2 #9064E2
monochromatic
#AC9620 #D8BF30 #E2CF64 #ECDF98 #F5EFCB

Accessibility & contrast

On white

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

On black

13.34
#E2CF64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CF64
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CF64#FFFFFF#000000##000000
##E2CF641.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA5A
Deuteranopia (green-blind)
#E5D169
Tritanopia (blue-blind)
#F2C2B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e2cf64;
/* rgb */ color: rgb(226, 207, 100);
/* oklch */ color: oklch(84.9% 0.129 99.4);
Tailwind
colors: {
  custom: {
    50: '#eedd93',
    500: '#e2cf64',
    950: '#000000',
  },
}
SCSS
$custom: #e2cf64;
$custom-light: #eedd93;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cf64",
  "rgb": {
    "r": 226,
    "g": 207,
    "b": 100
  },
  "hsl": {
    "h": 50.952,
    "s": 68.478,
    "l": 63.922
  },
  "oklch": {
    "l": 0.84915,
    "c": 0.12931,
    "h": 99.4
  },
  "luminance": 0.61714
}

Semantic roles & 50–950 ramp

primary
#E2CF64
secondary
#3D4EAD
accent
#31D015
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2CF64

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

Preview Lab → · Contrast checker → · Palette generator →

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