#E2CD4C#E2CD4C

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

Color values

HEX#E2CD4C
RGBrgb(226, 205, 76)
HSLhsl(52, 72%, 59%)
HSVhsv(52, 66%, 89%)
CMYKcmyk(0%, 9.3%, 66.4%, 11.4%)
CIE-LABlab(82.03, -7.15, 64.33)
CIE-LCHlch(82.03, 64.73, 96.34°)
OKLaboklab(84.27% -0.0254 0.1449)
OKLCHoklch(84.27% 0.147 100)
XYZxyz(54.5022, 60.3556, 15.6150)
Luminance0.6035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD4C #4C61E2
analogous
#E2824C #E2CD4C #ACE24C
triadic
#E2CD4C #4CE2CD #CD4CE2
tetradic
#E2CD4C #4CE282 #4C61E2 #E24CAC
square
#E2CD4C #4CE282 #4C61E2 #E24CAC
split-complementary
#E2CD4C #4CACE2 #824CE2
monochromatic
#9B8819 #CFB722 #E2CD4C #EBDC81 #F3EAB5

Accessibility & contrast

On white

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

On black

13.07
#E2CD4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD4C
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD4C#FFFFFF#000000##000000
##E2CD4C1.001.6113.0713.07
#FFFFFF1.611.0021.0021.00
#00000013.0721.001.001.00
##00000013.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C73B
Deuteranopia (green-blind)
#E6CF53
Tritanopia (blue-blind)
#F3BFB2
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2cd4c;
/* rgb */ color: rgb(226, 205, 76);
/* oklch */ color: oklch(84.3% 0.147 100.0);
Tailwind
colors: {
  custom: {
    50: '#efdb84',
    500: '#e2cd4c',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd4c;
$custom-light: #efdb84;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd4c",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 76
  },
  "hsl": {
    "h": 51.6,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84267,
    "c": 0.14709,
    "h": 100
  },
  "luminance": 0.60353
}

Semantic roles & 50–950 ramp

primary
#E2CD4C
secondary
#34439E
accent
#52EF39
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2CD4C

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

Preview Lab → · Contrast checker → · Palette generator →

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