#E2E951#E2E951

#E2E951 is a very light, vivid yellow. Relative luminance 0.750; OKLCH L 90.2% C 0.170 H 111.9°. Best body text is #000000 at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#E2E951
RGBrgb(226, 233, 81)
HSLhsl(63, 78%, 62%)
HSVhsv(63, 65%, 91%)
CMYKcmyk(3%, 0%, 65.2%, 8.6%)
CIE-LABlab(89.41, -20.76, 69.98)
CIE-LCHlch(89.41, 72.99, 106.52°)
OKLaboklab(90.16% -0.0633 0.1576)
OKLCHoklch(90.16% 0.17 111.9)
XYZxyz(61.9900, 75.0421, 19.0021)
Luminance0.7504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E951 #5851E9
analogous
#E9A451 #E2E951 #96E951
triadic
#E2E951 #51E2E9 #E951E2
tetradic
#E2E951 #51E9A4 #5851E9 #E95196
square
#E2E951 #51E9A4 #5851E9 #E95196
split-complementary
#E2E951 #5196E9 #A451E9
monochromatic
#A3AA16 #D7E01C #E2E951 #EBF087 #F4F7BE

Accessibility & contrast

On white

1.31
#E2E951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.01
#E2E951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E951
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E951#FFFFFF#000000##000000
##E2E9511.001.3116.0116.01
#FFFFFF1.311.0021.0021.00
#00000016.0121.001.001.00
##00000016.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF3B
Deuteranopia (green-blind)
#FBE35B
Tritanopia (blue-blind)
#F1DBCA
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e2e951;
/* rgb */ color: rgb(226, 233, 81);
/* oklch */ color: oklch(90.2% 0.170 111.9);
Tailwind
colors: {
  custom: {
    50: '#eeef8a',
    500: '#e2e951',
    950: '#000000',
  },
}
SCSS
$custom: #e2e951;
$custom-light: #eeef8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e951",
  "rgb": {
    "r": 226,
    "g": 233,
    "b": 81
  },
  "hsl": {
    "h": 62.763,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.90158,
    "c": 0.16983,
    "h": 111.9
  },
  "luminance": 0.75041
}

Semantic roles & 50–950 ramp

primary
#E2E951
secondary
#3833AB
accent
#0CDA15
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #E2E951

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

Preview Lab → · Contrast checker → · Palette generator →

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