#E2E351#E2E351

#E2E351 is a very light, vivid yellow. Relative luminance 0.717; OKLCH L 88.9% C 0.164 H 109.7°. Best body text is #000000 at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#E2E351
RGBrgb(226, 227, 81)
HSLhsl(60, 72%, 60%)
HSVhsv(60, 64%, 89%)
CMYKcmyk(0.4%, 0%, 64.3%, 11%)
CIE-LABlab(87.83, -17.84, 68.34)
CIE-LCHlch(87.83, 70.64, 104.63°)
OKLaboklab(88.89% -0.0552 0.1541)
OKLCHoklch(88.89% 0.164 109.7)
XYZxyz(60.3203, 71.7027, 18.4455)
Luminance0.7170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E351 #5251E3
analogous
#E39B51 #E2E351 #99E351
triadic
#E2E351 #51E2E3 #E351E2
tetradic
#E2E351 #51E39B #5251E3 #E35199
square
#E2E351 #51E39B #5251E3 #E35199
split-complementary
#E2E351 #5199E3 #9B51E3
monochromatic
#9FA01A #D3D522 #E2E351 #EBEB86 #F4F4BA

Accessibility & contrast

On white

1.37
#E2E351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.34
#E2E351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E351
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E351#FFFFFF#000000##000000
##E2E3511.001.3715.3415.34
#FFFFFF1.371.0021.0021.00
#00000015.3421.001.001.00
##00000015.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DA3D
Deuteranopia (green-blind)
#F6DE5B
Tritanopia (blue-blind)
#F1D5C5
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e2e351;
/* rgb */ color: rgb(226, 227, 81);
/* oklch */ color: oklch(88.9% 0.164 109.7);
Tailwind
colors: {
  custom: {
    50: '#eeeb89',
    500: '#e2e351',
    950: '#000000',
  },
}
SCSS
$custom: #e2e351;
$custom-light: #eeeb89;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e351",
  "rgb": {
    "r": 226,
    "g": 227,
    "b": 81
  },
  "hsl": {
    "h": 60.411,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.8889,
    "c": 0.16369,
    "h": 109.7
  },
  "luminance": 0.71701
}

Semantic roles & 50–950 ramp

primary
#E2E351
secondary
#3635A3
accent
#11D412
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2E351

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

Preview Lab → · Contrast checker → · Palette generator →

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