#E2E22D#E2E22D

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

Color values

HEX#E2E22D
RGBrgb(226, 226, 45)
HSLhsl(60, 76%, 53%)
HSVhsv(60, 80%, 89%)
CMYKcmyk(0%, 0%, 80.1%, 11.4%)
CIE-LABlab(87.36, -18.93, 79.66)
CIE-LCHlch(87.36, 81.88, 103.37°)
OKLaboklab(88.46% -0.0613 0.172)
OKLCHoklch(88.46% 0.183 109.6)
XYZxyz(59.0363, 70.7528, 13.0289)
Luminance0.7075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E22D #2D2DE2
analogous
#E2872D #E2E22D #87E22D
triadic
#E2E22D #2DE2E2 #E22DE2
tetradic
#E2E22D #2DE287 #2D2DE2 #E22D87
square
#E2E22D #2DE287 #2D2DE2 #E22D87
split-complementary
#E2E22D #2D87E2 #872DE2
monochromatic
#838312 #B8B819 #E2E22D #E9E963 #F1F199

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2E22D#FFFFFF#000000##000000
##E2E22D1.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)
#F7DD3F
Tritanopia (blue-blind)
#F2D3C2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e2e22d;
/* rgb */ color: rgb(226, 226, 45);
/* oklch */ color: oklch(88.5% 0.183 109.6);
Tailwind
colors: {
  custom: {
    50: '#f0ea78',
    500: '#e2e22d',
    950: '#000000',
  },
}
SCSS
$custom: #e2e22d;
$custom-light: #f0ea78;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e22d",
  "rgb": {
    "r": 226,
    "g": 226,
    "b": 45
  },
  "hsl": {
    "h": 60,
    "s": 75.732,
    "l": 53.137
  },
  "oklch": {
    "l": 0.8846,
    "c": 0.18264,
    "h": 109.6
  },
  "luminance": 0.70751
}

Semantic roles & 50–950 ramp

primary
#E2E22D
secondary
#2A2A89
accent
#35F235
background
#FFFEFB
surface
#FFFDF2
border
#D7D5CC
text
#17160A
muted
#85847D

Preview Lab

Preview with #E2E22D

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

Preview Lab → · Contrast checker → · Palette generator →

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