#E2D34C#E2D34C

#E2D34C is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.5% C 0.152 H 102.9°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#E2D34C
RGBrgb(226, 211, 76)
HSLhsl(54, 72%, 59%)
HSVhsv(54, 66%, 89%)
CMYKcmyk(0%, 6.6%, 66.4%, 11.4%)
CIE-LABlab(83.59, -10.19, 65.94)
CIE-LCHlch(83.59, 66.72, 98.78°)
OKLaboklab(85.51% -0.034 0.1483)
OKLCHoklch(85.51% 0.152 102.9)
XYZxyz(55.9651, 63.2813, 16.1026)
Luminance0.6328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D34C #4C5BE2
analogous
#E2884C #E2D34C #A6E24C
triadic
#E2D34C #4CE2D3 #D34CE2
tetradic
#E2D34C #4CE288 #4C5BE2 #E24CA6
square
#E2D34C #4CE288 #4C5BE2 #E24CA6
split-complementary
#E2D34C #4CA6E2 #884CE2
monochromatic
#9B8E19 #CFBE22 #E2D34C #EBE081 #F3EDB5

Accessibility & contrast

On white

1.54
#E2D34C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.66
#E2D34C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D34C
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D34C#FFFFFF#000000##000000
##E2D34C1.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC3A
Deuteranopia (green-blind)
#EAD354
Tritanopia (blue-blind)
#F2C5B7
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e2d34c;
/* rgb */ color: rgb(226, 211, 76);
/* oklch */ color: oklch(85.5% 0.152 102.9);
Tailwind
colors: {
  custom: {
    50: '#efe085',
    500: '#e2d34c',
    950: '#000000',
  },
}
SCSS
$custom: #e2d34c;
$custom-light: #efe085;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d34c",
  "rgb": {
    "r": 226,
    "g": 211,
    "b": 76
  },
  "hsl": {
    "h": 54,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85505,
    "c": 0.15214,
    "h": 102.9
  },
  "luminance": 0.63279
}

Semantic roles & 50–950 ramp

primary
#E2D34C
secondary
#343F9E
accent
#4BEF39
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2D34C

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

Preview Lab → · Contrast checker → · Palette generator →

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