#E2CD4B#E2CD4B

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

Color values

HEX#E2CD4B
RGBrgb(226, 205, 75)
HSLhsl(52, 72%, 59%)
HSVhsv(52, 67%, 89%)
CMYKcmyk(0%, 9.3%, 66.8%, 11.4%)
CIE-LABlab(82.02, -7.21, 64.73)
CIE-LCHlch(82.02, 65.13, 96.35°)
OKLaboklab(84.26% -0.0257 0.1456)
OKLCHoklch(84.26% 0.148 100)
XYZxyz(54.4677, 60.3418, 15.4334)
Luminance0.6034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD4B #4B60E2
analogous
#E2824B #E2CD4B #ABE24B
triadic
#E2CD4B #4BE2CD #CD4BE2
tetradic
#E2CD4B #4BE282 #4B60E2 #E24BAB
square
#E2CD4B #4BE282 #4B60E2 #E24BAB
split-complementary
#E2CD4B #4BABE2 #824BE2
monochromatic
#9A8819 #CFB621 #E2CD4B #EADC80 #F3EAB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2CD4B#FFFFFF#000000##000000
##E2CD4B1.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)
#E0C73A
Deuteranopia (green-blind)
#E6CF52
Tritanopia (blue-blind)
#F3BFB2
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2cd4b;
/* rgb */ color: rgb(226, 205, 75);
/* oklch */ color: oklch(84.3% 0.148 100.0);
Tailwind
colors: {
  custom: {
    50: '#efdb84',
    500: '#e2cd4b',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd4b;
$custom-light: #efdb84;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd4b",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 75
  },
  "hsl": {
    "h": 51.656,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84258,
    "c": 0.1478,
    "h": 100
  },
  "luminance": 0.60339
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2CD4B

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

Preview Lab → · Contrast checker → · Palette generator →

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