#E2D257#E2D257

#E2D257 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.4% C 0.143 H 101.9°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#E2D257
RGBrgb(226, 210, 87)
HSLhsl(53, 71%, 61%)
HSVhsv(53, 62%, 89%)
CMYKcmyk(0%, 7.1%, 61.5%, 11.4%)
CIE-LABlab(83.42, -9.02, 61.22)
CIE-LCHlch(83.42, 61.88, 98.39°)
OKLaboklab(85.4% -0.0295 0.1399)
OKLCHoklch(85.4% 0.143 101.9)
XYZxyz(56.1331, 62.9523, 18.2092)
Luminance0.6295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D257 #5767E2
analogous
#E28D57 #E2D257 #ACE257
triadic
#E2D257 #57E2D2 #D257E2
tetradic
#E2D257 #57E28D #5767E2 #E257AC
square
#E2D257 #57E28D #5767E2 #E257AC
split-complementary
#E2D257 #57ACE2 #8D57E2
monochromatic
#A3931C #D7C225 #E2D257 #EBE08B #F4EEBF

Accessibility & contrast

On white

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

On black

13.59
#E2D257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D257
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D257#FFFFFF#000000##000000
##E2D2571.001.5513.5913.59
#FFFFFF1.551.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC49
Deuteranopia (green-blind)
#E9D35E
Tritanopia (blue-blind)
#F2C4B8
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e2d257;
/* rgb */ color: rgb(226, 210, 87);
/* oklch */ color: oklch(85.4% 0.143 101.9);
Tailwind
colors: {
  custom: {
    50: '#eedf8b',
    500: '#e2d257',
    950: '#000000',
  },
}
SCSS
$custom: #e2d257;
$custom-light: #eedf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d257",
  "rgb": {
    "r": 226,
    "g": 210,
    "b": 87
  },
  "hsl": {
    "h": 53.094,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85395,
    "c": 0.143,
    "h": 101.9
  },
  "luminance": 0.6295
}

Semantic roles & 50–950 ramp

primary
#E2D257
secondary
#3845A5
accent
#29D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D257

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

Preview Lab → · Contrast checker → · Palette generator →

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