#E2D239#E2D239

#E2D239 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 85.2% C 0.163 H 103.1°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#E2D239
RGBrgb(226, 210, 57)
HSLhsl(54, 74%, 55%)
HSVhsv(54, 75%, 89%)
CMYKcmyk(0%, 7.1%, 74.8%, 11.4%)
CIE-LABlab(83.21, -10.59, 72.47)
CIE-LCHlch(83.21, 73.24, 98.31°)
OKLaboklab(85.16% -0.0371 0.1588)
OKLCHoklch(85.16% 0.163 103.1)
XYZxyz(55.1516, 62.5597, 13.0403)
Luminance0.6256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D239 #3949E2
analogous
#E27E39 #E2D239 #9DE239
triadic
#E2D239 #39E2D2 #D239E2
tetradic
#E2D239 #39E27E #3949E2 #E2399D
square
#E2D239 #39E27E #3949E2 #E2399D
split-complementary
#E2D239 #399DE2 #7E39E2
monochromatic
#8C8115 #C1B21C #E2D239 #EADE6E #F2EAA4

Accessibility & contrast

On white

1.55
#E2D239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.51
#E2D239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D239
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D239#FFFFFF#000000##000000
##E2D2391.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB18
Deuteranopia (green-blind)
#EAD344
Tritanopia (blue-blind)
#F3C3B5
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e2d239;
/* rgb */ color: rgb(226, 210, 57);
/* oklch */ color: oklch(85.2% 0.163 103.1);
Tailwind
colors: {
  custom: {
    50: '#efdf7b',
    500: '#e2d239',
    950: '#000000',
  },
}
SCSS
$custom: #e2d239;
$custom-light: #efdf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d239",
  "rgb": {
    "r": 226,
    "g": 210,
    "b": 57
  },
  "hsl": {
    "h": 54.32,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.85164,
    "c": 0.16305,
    "h": 103.1
  },
  "luminance": 0.62557
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2D239

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

Preview Lab → · Contrast checker → · Palette generator →

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