#E2D255#E2D255

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

Color values

HEX#E2D255
RGBrgb(226, 210, 85)
HSLhsl(53, 71%, 61%)
HSVhsv(53, 62%, 89%)
CMYKcmyk(0%, 7.1%, 62.4%, 11.4%)
CIE-LABlab(83.40, -9.15, 62.05)
CIE-LCHlch(83.40, 62.72, 98.39°)
OKLaboklab(85.38% -0.0301 0.1414)
OKLCHoklch(85.38% 0.145 102)
XYZxyz(56.0525, 62.9201, 17.7848)
Luminance0.6292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D255 #5565E2
analogous
#E28B55 #E2D255 #ACE255
triadic
#E2D255 #55E2D2 #D255E2
tetradic
#E2D255 #55E28B #5565E2 #E255AC
square
#E2D255 #55E28B #5565E2 #E255AC
split-complementary
#E2D255 #55ACE2 #8B55E2
monochromatic
#A1921B #D5C124 #E2D255 #EBE089 #F4EEBE

Accessibility & contrast

On white

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

On black

13.58
#E2D255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D255
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D255#FFFFFF#000000##000000
##E2D2551.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2d255;
/* rgb */ color: rgb(226, 210, 85);
/* oklch */ color: oklch(85.4% 0.145 102.0);
Tailwind
colors: {
  custom: {
    50: '#eedf8a',
    500: '#e2d255',
    950: '#000000',
  },
}
SCSS
$custom: #e2d255;
$custom-light: #eedf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d255",
  "rgb": {
    "r": 226,
    "g": 210,
    "b": 85
  },
  "hsl": {
    "h": 53.191,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.85376,
    "c": 0.14458,
    "h": 102
  },
  "luminance": 0.62918
}

Semantic roles & 50–950 ramp

primary
#E2D255
secondary
#3744A4
accent
#28D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D255

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

Preview Lab → · Contrast checker → · Palette generator →

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