#E2E22F#E2E22F

#E2E22F is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 88.5% C 0.182 H 109.6°. Best body text is #000000 at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#E2E22F
RGBrgb(226, 226, 47)
HSLhsl(60, 76%, 54%)
HSVhsv(60, 79%, 89%)
CMYKcmyk(0%, 0%, 79.2%, 11.4%)
CIE-LABlab(87.37, -18.87, 79.15)
CIE-LCHlch(87.37, 81.37, 103.41°)
OKLaboklab(88.47% -0.061 0.1713)
OKLCHoklch(88.47% 0.182 109.6)
XYZxyz(59.0758, 70.7685, 13.2366)
Luminance0.7077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E22F #2F2FE2
analogous
#E2882F #E2E22F #88E22F
triadic
#E2E22F #2FE2E2 #E22FE2
tetradic
#E2E22F #2FE288 #2F2FE2 #E22F88
square
#E2E22F #2FE288 #2F2FE2 #E22F88
split-complementary
#E2E22F #2F88E2 #882FE2
monochromatic
#848412 #BABA1A #E2E22F #E9E965 #F1F19A

Accessibility & contrast

On white

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

On black

15.15
#E2E22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E22F
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E22F#FFFFFF#000000##000000
##E2E22F1.001.3915.1515.15
#FFFFFF1.391.0021.0021.00
#00000015.1521.001.001.00
##00000015.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5D800
Deuteranopia (green-blind)
#F7DD40
Tritanopia (blue-blind)
#F2D3C2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e2e22f;
/* rgb */ color: rgb(226, 226, 47);
/* oklch */ color: oklch(88.5% 0.182 109.6);
Tailwind
colors: {
  custom: {
    50: '#efea78',
    500: '#e2e22f',
    950: '#000000',
  },
}
SCSS
$custom: #e2e22f;
$custom-light: #efea78;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e22f",
  "rgb": {
    "r": 226,
    "g": 226,
    "b": 47
  },
  "hsl": {
    "h": 60,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.88468,
    "c": 0.18183,
    "h": 109.6
  },
  "luminance": 0.70767
}

Semantic roles & 50–950 ramp

primary
#E2E22F
secondary
#2B2B8A
accent
#36F236
background
#FFFEFB
surface
#FFFDF2
border
#D7D5CC
text
#17160A
muted
#85847D

Preview Lab

Preview with #E2E22F

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

Preview Lab → · Contrast checker → · Palette generator →

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