#E2E23B#E2E23B

#E2E23B is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 88.5% C 0.176 H 109.5°. Best body text is #000000 at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#E2E23B
RGBrgb(226, 226, 59)
HSLhsl(60, 74%, 56%)
HSVhsv(60, 74%, 89%)
CMYKcmyk(0%, 0%, 73.9%, 11.4%)
CIE-LABlab(87.43, -18.43, 75.74)
CIE-LCHlch(87.43, 77.95, 103.68°)
OKLaboklab(88.53% -0.0589 0.1661)
OKLCHoklch(88.53% 0.176 109.5)
XYZxyz(59.3520, 70.8790, 14.6914)
Luminance0.7088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E23B #3B3BE2
analogous
#E28E3B #E2E23B #8EE23B
triadic
#E2E23B #3BE2E2 #E23BE2
tetradic
#E2E23B #3BE28E #3B3BE2 #E23B8E
square
#E2E23B #3BE28E #3B3BE2 #E23B8E
split-complementary
#E2E23B #3B8EE2 #8E3BE2
monochromatic
#8E8E15 #C3C31D #E2E23B #EAEA70 #F2F2A6

Accessibility & contrast

On white

1.38
#E2E23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.18
#E2E23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E23B
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E23B#FFFFFF#000000##000000
##E2E23B1.001.3815.1815.18
#FFFFFF1.381.0021.0021.00
#00000015.1821.001.001.00
##00000015.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D813
Deuteranopia (green-blind)
#F6DD49
Tritanopia (blue-blind)
#F2D3C3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e2e23b;
/* rgb */ color: rgb(226, 226, 59);
/* oklch */ color: oklch(88.5% 0.176 109.5);
Tailwind
colors: {
  custom: {
    50: '#efea7d',
    500: '#e2e23b',
    950: '#000000',
  },
}
SCSS
$custom: #e2e23b;
$custom-light: #efea7d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e23b",
  "rgb": {
    "r": 226,
    "g": 226,
    "b": 59
  },
  "hsl": {
    "h": 60,
    "s": 74.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.88528,
    "c": 0.17623,
    "h": 109.5
  },
  "luminance": 0.70877
}

Semantic roles & 50–950 ramp

primary
#E2E23B
secondary
#2E2E93
accent
#37F137
background
#FFFEFB
surface
#FFFDF2
border
#D7D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #E2E23B

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

Preview Lab → · Contrast checker → · Palette generator →

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