#E2D254#E2D254

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

Color values

HEX#E2D254
RGBrgb(226, 210, 84)
HSLhsl(53, 71%, 61%)
HSVhsv(53, 63%, 89%)
CMYKcmyk(0%, 7.1%, 62.8%, 11.4%)
CIE-LABlab(83.39, -9.21, 62.47)
CIE-LCHlch(83.39, 63.14, 98.39°)
OKLaboklab(85.37% -0.0304 0.1421)
OKLCHoklch(85.37% 0.145 102.1)
XYZxyz(56.0131, 62.9043, 17.5770)
Luminance0.6290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D254 #5464E2
analogous
#E28B54 #E2D254 #ABE254
triadic
#E2D254 #54E2D2 #D254E2
tetradic
#E2D254 #54E28B #5464E2 #E254AB
square
#E2D254 #54E28B #5464E2 #E254AB
split-complementary
#E2D254 #54ABE2 #8B54E2
monochromatic
#A0911B #D5C124 #E2D254 #EBE088 #F4EEBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2D254#FFFFFF#000000##000000
##E2D2541.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)
#E4CC45
Deuteranopia (green-blind)
#E9D35B
Tritanopia (blue-blind)
#F2C4B7
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e2d254;
/* rgb */ color: rgb(226, 210, 84);
/* oklch */ color: oklch(85.4% 0.145 102.1);
Tailwind
colors: {
  custom: {
    50: '#eedf89',
    500: '#e2d254',
    950: '#000000',
  },
}
SCSS
$custom: #e2d254;
$custom-light: #eedf89;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d254",
  "rgb": {
    "r": 226,
    "g": 210,
    "b": 84
  },
  "hsl": {
    "h": 53.239,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.85367,
    "c": 0.14536,
    "h": 102.1
  },
  "luminance": 0.62902
}

Semantic roles & 50–950 ramp

primary
#E2D254
secondary
#3743A3
accent
#28D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D254

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

Preview Lab → · Contrast checker → · Palette generator →

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