#E2E54D#E2E54D

#E2E54D is a very light, vivid yellow. Relative luminance 0.727; OKLCH L 89.3% C 0.168 H 110.5°. Best body text is #000000 at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#E2E54D
RGBrgb(226, 229, 77)
HSLhsl(61, 75%, 60%)
HSVhsv(61, 66%, 90%)
CMYKcmyk(1.3%, 0%, 66.4%, 10.2%)
CIE-LABlab(88.33, -19.04, 70.39)
CIE-LCHlch(88.33, 72.92, 105.14°)
OKLaboklab(89.28% -0.0589 0.1578)
OKLCHoklch(89.28% 0.168 110.5)
XYZxyz(60.7248, 72.7448, 17.8621)
Luminance0.7274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E54D #504DE5
analogous
#E59C4D #E2E54D #96E54D
triadic
#E2E54D #4DE2E5 #E54DE2
tetradic
#E2E54D #4DE59C #504DE5 #E54D96
square
#E2E54D #4DE59C #504DE5 #E54D96
split-complementary
#E2E54D #4D96E5 #9C4DE5
monochromatic
#9EA017 #D2D61F #E2E54D #EBED82 #F3F5B8

Accessibility & contrast

On white

1.35
#E2E54D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.55
#E2E54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E54D
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E54D#FFFFFF#000000##000000
##E2E54D1.001.3515.5515.55
#FFFFFF1.351.0021.0021.00
#00000015.5521.001.001.00
##00000015.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DB36
Deuteranopia (green-blind)
#F8E058
Tritanopia (blue-blind)
#F1D7C6
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e2e54d;
/* rgb */ color: rgb(226, 229, 77);
/* oklch */ color: oklch(89.3% 0.168 110.5);
Tailwind
colors: {
  custom: {
    50: '#efed87',
    500: '#e2e54d',
    950: '#000000',
  },
}
SCSS
$custom: #e2e54d;
$custom-light: #efed87;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e54d",
  "rgb": {
    "r": 226,
    "g": 229,
    "b": 77
  },
  "hsl": {
    "h": 61.184,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.89281,
    "c": 0.16845,
    "h": 110.5
  },
  "luminance": 0.72743
}

Semantic roles & 50–950 ramp

primary
#E2E54D
secondary
#3533A3
accent
#37F13A
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2E54D

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

Preview Lab → · Contrast checker → · Palette generator →

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