#E2CD79#E2CD79

#E2CD79 is a very light, moderate yellow. Relative luminance 0.612; OKLCH L 84.8% C 0.107 H 95.7°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#E2CD79
RGBrgb(226, 205, 121)
HSLhsl(48, 64%, 68%)
HSVhsv(48, 46%, 89%)
CMYKcmyk(0%, 9.3%, 46.5%, 11.4%)
CIE-LABlab(82.49, -3.76, 44.29)
CIE-LCHlch(82.49, 44.45, 94.86°)
OKLaboklab(84.78% -0.0107 0.1066)
OKLCHoklch(84.78% 0.107 95.7)
XYZxyz(56.6482, 61.2140, 26.9170)
Luminance0.6121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD79 #798EE2
analogous
#E29879 #E2CD79 #C2E279
triadic
#E2CD79 #79E2CD #CD79E2
tetradic
#E2CD79 #79E298 #798EE2 #E279C2
square
#E2CD79 #79E298 #798EE2 #E279C2
split-complementary
#E2CD79 #79C2E2 #9879E2
monochromatic
#B99C28 #D7BA47 #E2CD79 #EDE0AB #F8F3DE

Accessibility & contrast

On white

1.59
#E2CD79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.24
#E2CD79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD79
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD79#FFFFFF#000000##000000
##E2CD791.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC972
Deuteranopia (green-blind)
#E2D07C
Tritanopia (blue-blind)
#F0C2B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e2cd79;
/* rgb */ color: rgb(226, 205, 121);
/* oklch */ color: oklch(84.8% 0.107 95.7);
Tailwind
colors: {
  custom: {
    50: '#eddca1',
    500: '#e2cd79',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd79;
$custom-light: #eddca1;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd79",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 121
  },
  "hsl": {
    "h": 48,
    "s": 64.417,
    "l": 68.039
  },
  "oklch": {
    "l": 0.84782,
    "c": 0.10714,
    "h": 95.7
  },
  "luminance": 0.61212
}

Semantic roles & 50–950 ramp

primary
#E2CD79
secondary
#465DB9
accent
#3DCC19
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E2CD79

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

Preview Lab → · Contrast checker → · Palette generator →

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