#E2D954#E2D954

#E2D954 is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 86.8% C 0.152 H 105.4°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#E2D954
RGBrgb(226, 217, 84)
HSLhsl(56, 71%, 61%)
HSVhsv(56, 63%, 89%)
CMYKcmyk(0%, 4%, 62.8%, 11.4%)
CIE-LABlab(85.22, -12.73, 64.41)
CIE-LCHlch(85.22, 65.66, 101.18°)
OKLaboklab(86.82% -0.0404 0.1463)
OKLCHoklch(86.82% 0.152 105.4)
XYZxyz(57.7792, 66.4366, 18.1658)
Luminance0.6643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D954 #545DE2
analogous
#E29254 #E2D954 #A4E254
triadic
#E2D954 #54E2D9 #D954E2
tetradic
#E2D954 #54E292 #545DE2 #E254A4
square
#E2D954 #54E292 #545DE2 #E254A4
split-complementary
#E2D954 #54A4E2 #9254E2
monochromatic
#A0981B #D5CA24 #E2D954 #EBE588 #F4F0BD

Accessibility & contrast

On white

1.47
#E2D954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.29
#E2D954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D954
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D954#FFFFFF#000000##000000
##E2D9541.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD243
Deuteranopia (green-blind)
#EED85C
Tritanopia (blue-blind)
#F2CBBD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e2d954;
/* rgb */ color: rgb(226, 217, 84);
/* oklch */ color: oklch(86.8% 0.152 105.4);
Tailwind
colors: {
  custom: {
    50: '#eee48a',
    500: '#e2d954',
    950: '#000000',
  },
}
SCSS
$custom: #e2d954;
$custom-light: #eee48a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d954",
  "rgb": {
    "r": 226,
    "g": 217,
    "b": 84
  },
  "hsl": {
    "h": 56.197,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.86819,
    "c": 0.15174,
    "h": 105.4
  },
  "luminance": 0.66435
}

Semantic roles & 50–950 ramp

primary
#E2D954
secondary
#373EA3
accent
#1FD312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D954

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

Preview Lab → · Contrast checker → · Palette generator →

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