#E2D439#E2D439

#E2D439 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.6% C 0.165 H 104.0°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#E2D439
RGBrgb(226, 212, 57)
HSLhsl(55, 74%, 55%)
HSVhsv(55, 75%, 89%)
CMYKcmyk(0%, 6.2%, 74.8%, 11.4%)
CIE-LABlab(83.73, -11.59, 72.95)
CIE-LCHlch(83.73, 73.87, 99.03°)
OKLaboklab(85.58% -0.0399 0.1598)
OKLCHoklch(85.58% 0.165 104)
XYZxyz(55.6485, 63.5534, 13.2059)
Luminance0.6355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D439 #3947E2
analogous
#E28039 #E2D439 #9BE239
triadic
#E2D439 #39E2D4 #D439E2
tetradic
#E2D439 #39E280 #3947E2 #E2399B
square
#E2D439 #39E280 #3947E2 #E2399B
split-complementary
#E2D439 #399BE2 #8039E2
monochromatic
#8C8215 #C1B41C #E2D439 #EAE06E #F2EBA4

Accessibility & contrast

On white

1.53
#E2D439 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.71
#E2D439 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D439
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D439#FFFFFF#000000##000000
##E2D4391.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD17
Deuteranopia (green-blind)
#ECD445
Tritanopia (blue-blind)
#F3C5B7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e2d439;
/* rgb */ color: rgb(226, 212, 57);
/* oklch */ color: oklch(85.6% 0.165 104.0);
Tailwind
colors: {
  custom: {
    50: '#efe07b',
    500: '#e2d439',
    950: '#000000',
  },
}
SCSS
$custom: #e2d439;
$custom-light: #efe07b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d439",
  "rgb": {
    "r": 226,
    "g": 212,
    "b": 57
  },
  "hsl": {
    "h": 55.03,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.8558,
    "c": 0.16473,
    "h": 104
  },
  "luminance": 0.63551
}

Semantic roles & 50–950 ramp

primary
#E2D439
secondary
#2E3691
accent
#46F137
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #E2D439

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

Preview Lab → · Contrast checker → · Palette generator →

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