#E2CF79#E2CF79

#E2CF79 is a very light, moderate yellow. Relative luminance 0.622; OKLCH L 85.2% C 0.109 H 97.2°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#E2CF79
RGBrgb(226, 207, 121)
HSLhsl(49, 64%, 68%)
HSVhsv(49, 46%, 89%)
CMYKcmyk(0%, 8.4%, 46.5%, 11.4%)
CIE-LABlab(83.01, -4.79, 44.93)
CIE-LCHlch(83.01, 45.19, 96.09°)
OKLaboklab(85.19% -0.0137 0.108)
OKLCHoklch(85.19% 0.109 97.2)
XYZxyz(57.1296, 62.1770, 27.0775)
Luminance0.6218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CF79 #798CE2
analogous
#E29A79 #E2CF79 #C0E279
triadic
#E2CF79 #79E2CF #CF79E2
tetradic
#E2CF79 #79E29A #798CE2 #E279C0
square
#E2CF79 #79E29A #798CE2 #E279C0
split-complementary
#E2CF79 #79C0E2 #9A79E2
monochromatic
#B99E28 #D7BD47 #E2CF79 #EDE1AB #F8F3DE

Accessibility & contrast

On white

1.56
#E2CF79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.44
#E2CF79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CF79
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CF79#FFFFFF#000000##000000
##E2CF791.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECB72
Deuteranopia (green-blind)
#E4D27C
Tritanopia (blue-blind)
#F0C4BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e2cf79;
/* rgb */ color: rgb(226, 207, 121);
/* oklch */ color: oklch(85.2% 0.109 97.2);
Tailwind
colors: {
  custom: {
    50: '#eddda1',
    500: '#e2cf79',
    950: '#000000',
  },
}
SCSS
$custom: #e2cf79;
$custom-light: #eddda1;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cf79",
  "rgb": {
    "r": 226,
    "g": 207,
    "b": 121
  },
  "hsl": {
    "h": 49.143,
    "s": 64.417,
    "l": 68.039
  },
  "oklch": {
    "l": 0.85188,
    "c": 0.10888,
    "h": 97.2
  },
  "luminance": 0.62175
}

Semantic roles & 50–950 ramp

primary
#E2CF79
secondary
#465BB9
accent
#3ACC19
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E2CF79

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

Preview Lab → · Contrast checker → · Palette generator →

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