#E2E151#E2E151

#E2E151 is a very light, vivid yellow. Relative luminance 0.706; OKLCH L 88.5% C 0.162 H 108.9°. Best body text is #000000 at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#E2E151
RGBrgb(226, 225, 81)
HSLhsl(60, 71%, 60%)
HSVhsv(60, 64%, 89%)
CMYKcmyk(0%, 0.4%, 64.2%, 11.4%)
CIE-LABlab(87.30, -16.86, 67.80)
CIE-LCHlch(87.30, 69.86, 103.97°)
OKLaboklab(88.47% -0.0524 0.153)
OKLCHoklch(88.47% 0.162 108.9)
XYZxyz(59.7764, 70.6150, 18.2642)
Luminance0.7061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E151 #5152E2
analogous
#E29851 #E2E151 #9BE251
triadic
#E2E151 #51E2E1 #E151E2
tetradic
#E2E151 #51E298 #5152E2 #E2519B
square
#E2E151 #51E298 #5152E2 #E2519B
split-complementary
#E2E151 #519BE2 #9851E2
monochromatic
#9E9D1A #D3D123 #E2E151 #EBEA85 #F3F3BA

Accessibility & contrast

On white

1.39
#E2E151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.12
#E2E151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E151
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E151#FFFFFF#000000##000000
##E2E1511.001.3915.1215.12
#FFFFFF1.391.0021.0021.00
#00000015.1221.001.001.00
##00000015.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D83D
Deuteranopia (green-blind)
#F4DD5A
Tritanopia (blue-blind)
#F1D3C4
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e2e151;
/* rgb */ color: rgb(226, 225, 81);
/* oklch */ color: oklch(88.5% 0.162 108.9);
Tailwind
colors: {
  custom: {
    50: '#eeea89',
    500: '#e2e151',
    950: '#000000',
  },
}
SCSS
$custom: #e2e151;
$custom-light: #eeea89;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e151",
  "rgb": {
    "r": 226,
    "g": 225,
    "b": 81
  },
  "hsl": {
    "h": 59.586,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.88469,
    "c": 0.1617,
    "h": 108.9
  },
  "luminance": 0.70613
}

Semantic roles & 50–950 ramp

primary
#E2E151
secondary
#3637A1
accent
#13D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2E151

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

Preview Lab → · Contrast checker → · Palette generator →

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