#E2D34D#E2D34D

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

Color values

HEX#E2D34D
RGBrgb(226, 211, 77)
HSLhsl(54, 72%, 59%)
HSVhsv(54, 66%, 89%)
CMYKcmyk(0%, 6.6%, 65.9%, 11.4%)
CIE-LABlab(83.60, -10.13, 65.55)
CIE-LCHlch(83.60, 66.33, 98.79°)
OKLaboklab(85.51% -0.0338 0.1476)
OKLCHoklch(85.51% 0.151 102.9)
XYZxyz(56.0001, 63.2953, 16.2872)
Luminance0.6329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D34D #4D5CE2
analogous
#E2894D #E2D34D #A6E24D
triadic
#E2D34D #4DE2D3 #D34DE2
tetradic
#E2D34D #4DE289 #4D5CE2 #E24DA6
square
#E2D34D #4DE289 #4D5CE2 #E24DA6
split-complementary
#E2D34D #4DA6E2 #894DE2
monochromatic
#9B8E19 #D0BE22 #E2D34D #EBE082 #F3EDB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2D34D#FFFFFF#000000##000000
##E2D34D1.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)
#E5CC3B
Deuteranopia (green-blind)
#EAD355
Tritanopia (blue-blind)
#F2C5B8
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e2d34d;
/* rgb */ color: rgb(226, 211, 77);
/* oklch */ color: oklch(85.5% 0.151 102.9);
Tailwind
colors: {
  custom: {
    50: '#efe085',
    500: '#e2d34d',
    950: '#000000',
  },
}
SCSS
$custom: #e2d34d;
$custom-light: #efe085;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d34d",
  "rgb": {
    "r": 226,
    "g": 211,
    "b": 77
  },
  "hsl": {
    "h": 53.96,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.85513,
    "c": 0.15143,
    "h": 102.9
  },
  "luminance": 0.63293
}

Semantic roles & 50–950 ramp

primary
#E2D34D
secondary
#343F9F
accent
#4BEF39
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D34D

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

Preview Lab → · Contrast checker → · Palette generator →

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