#E2D339#E2D339

#E2D339 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.4% C 0.164 H 103.6°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#E2D339
RGBrgb(226, 211, 57)
HSLhsl(55, 74%, 55%)
HSVhsv(55, 75%, 89%)
CMYKcmyk(0%, 6.6%, 74.8%, 11.4%)
CIE-LABlab(83.47, -11.09, 72.71)
CIE-LCHlch(83.47, 73.55, 98.67°)
OKLaboklab(85.37% -0.0385 0.1593)
OKLCHoklch(85.37% 0.164 103.6)
XYZxyz(55.3993, 63.0550, 13.1228)
Luminance0.6305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D339 #3948E2
analogous
#E27F39 #E2D339 #9CE239
triadic
#E2D339 #39E2D3 #D339E2
tetradic
#E2D339 #39E27F #3948E2 #E2399C
square
#E2D339 #39E27F #3948E2 #E2399C
split-complementary
#E2D339 #399CE2 #7F39E2
monochromatic
#8C8115 #C1B31C #E2D339 #EADF6E #F2EBA4

Accessibility & contrast

On white

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

On black

13.61
#E2D339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D339
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D339#FFFFFF#000000##000000
##E2D3391.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC17
Deuteranopia (green-blind)
#EBD344
Tritanopia (blue-blind)
#F3C4B6
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e2d339;
/* rgb */ color: rgb(226, 211, 57);
/* oklch */ color: oklch(85.4% 0.164 103.6);
Tailwind
colors: {
  custom: {
    50: '#efe07b',
    500: '#e2d339',
    950: '#000000',
  },
}
SCSS
$custom: #e2d339;
$custom-light: #efe07b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d339",
  "rgb": {
    "r": 226,
    "g": 211,
    "b": 57
  },
  "hsl": {
    "h": 54.675,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.85372,
    "c": 0.16388,
    "h": 103.6
  },
  "luminance": 0.63053
}

Semantic roles & 50–950 ramp

primary
#E2D339
secondary
#2E3791
accent
#47F137
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #E2D339

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

Preview Lab → · Contrast checker → · Palette generator →

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