#E2CD4E#E2CD4E

#E2CD4E is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 84.3% C 0.146 H 99.8°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#E2CD4E
RGBrgb(226, 205, 78)
HSLhsl(51, 72%, 60%)
HSVhsv(51, 65%, 89%)
CMYKcmyk(0%, 9.3%, 65.5%, 11.4%)
CIE-LABlab(82.05, -7.04, 63.53)
CIE-LCHlch(82.05, 63.92, 96.32°)
OKLaboklab(84.28% -0.0249 0.1435)
OKLCHoklch(84.28% 0.146 99.8)
XYZxyz(54.5729, 60.3839, 15.9869)
Luminance0.6038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD4E #4E63E2
analogous
#E2834E #E2CD4E #ADE24E
triadic
#E2CD4E #4EE2CD #CD4EE2
tetradic
#E2CD4E #4EE283 #4E63E2 #E24EAD
square
#E2CD4E #4EE283 #4E63E2 #E24EAD
split-complementary
#E2CD4E #4EADE2 #834EE2
monochromatic
#9C8A1A #D1B822 #E2CD4E #EBDC83 #F3EBB7

Accessibility & contrast

On white

1.61
#E2CD4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.08
#E2CD4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD4E
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD4E#FFFFFF#000000##000000
##E2CD4E1.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C83E
Deuteranopia (green-blind)
#E5CF55
Tritanopia (blue-blind)
#F3BFB3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2cd4e;
/* rgb */ color: rgb(226, 205, 78);
/* oklch */ color: oklch(84.3% 0.146 99.8);
Tailwind
colors: {
  custom: {
    50: '#efdb86',
    500: '#e2cd4e',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd4e;
$custom-light: #efdb86;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd4e",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 78
  },
  "hsl": {
    "h": 51.486,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.84284,
    "c": 0.14565,
    "h": 99.8
  },
  "luminance": 0.60381
}

Semantic roles & 50–950 ramp

primary
#E2CD4E
secondary
#35449F
accent
#53EF39
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2CD4E

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

Preview Lab → · Contrast checker → · Palette generator →

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