#E2CD4F#E2CD4F

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

Color values

HEX#E2CD4F
RGBrgb(226, 205, 79)
HSLhsl(51, 72%, 60%)
HSVhsv(51, 65%, 89%)
CMYKcmyk(0%, 9.3%, 65%, 11.4%)
CIE-LABlab(82.05, -6.98, 63.13)
CIE-LCHlch(82.05, 63.52, 96.31°)
OKLaboklab(84.29% -0.0246 0.1428)
OKLCHoklch(84.29% 0.145 99.8)
XYZxyz(54.6090, 60.3983, 16.1772)
Luminance0.6040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD4F #4F64E2
analogous
#E2844F #E2CD4F #ADE24F
triadic
#E2CD4F #4FE2CD #CD4FE2
tetradic
#E2CD4F #4FE284 #4F64E2 #E24FAD
square
#E2CD4F #4FE284 #4F64E2 #E24FAD
split-complementary
#E2CD4F #4FADE2 #844FE2
monochromatic
#9D8A1A #D1B822 #E2CD4F #EBDC84 #F3EBB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2CD4F#FFFFFF#000000##000000
##E2CD4F1.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)
#E0C83F
Deuteranopia (green-blind)
#E5CF56
Tritanopia (blue-blind)
#F3BFB3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2cd4f;
/* rgb */ color: rgb(226, 205, 79);
/* oklch */ color: oklch(84.3% 0.145 99.8);
Tailwind
colors: {
  custom: {
    50: '#efdb86',
    500: '#e2cd4f',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd4f;
$custom-light: #efdb86;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd4f",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 79
  },
  "hsl": {
    "h": 51.429,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84292,
    "c": 0.14491,
    "h": 99.8
  },
  "luminance": 0.60396
}

Semantic roles & 50–950 ramp

primary
#E2CD4F
secondary
#3544A0
accent
#53EE39
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2CD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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