#E2E34A#E2E34A

#E2E34A is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 88.8% C 0.168 H 109.8°. Best body text is #000000 at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#E2E34A
RGBrgb(226, 227, 74)
HSLhsl(60, 73%, 59%)
HSVhsv(60, 67%, 89%)
CMYKcmyk(0.4%, 0%, 67.4%, 11%)
CIE-LABlab(87.78, -18.23, 70.95)
CIE-LCHlch(87.78, 73.25, 104.41°)
OKLaboklab(88.84% -0.0569 0.1585)
OKLCHoklch(88.84% 0.168 109.8)
XYZxyz(60.0712, 71.6030, 17.1336)
Luminance0.7160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E34A #4B4AE3
analogous
#E3984A #E2E34A #96E34A
triadic
#E2E34A #4AE2E3 #E34AE2
tetradic
#E2E34A #4AE398 #4B4AE3 #E34A96
square
#E2E34A #4AE398 #4B4AE3 #E34A96
split-complementary
#E2E34A #4A96E3 #984AE3
monochromatic
#9A9B18 #CFD020 #E2E34A #EAEB7F #F3F3B4

Accessibility & contrast

On white

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

On black

15.32
#E2E34A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E34A
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E34A#FFFFFF#000000##000000
##E2E34A1.001.3715.3215.32
#FFFFFF1.371.0021.0021.00
#00000015.3221.001.001.00
##00000015.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2e34a;
/* rgb */ color: rgb(226, 227, 74);
/* oklch */ color: oklch(88.8% 0.168 109.8);
Tailwind
colors: {
  custom: {
    50: '#efeb85',
    500: '#e2e34a',
    950: '#000000',
  },
}
SCSS
$custom: #e2e34a;
$custom-light: #efeb85;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e34a",
  "rgb": {
    "r": 226,
    "g": 227,
    "b": 74
  },
  "hsl": {
    "h": 60.392,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.88836,
    "c": 0.16844,
    "h": 109.8
  },
  "luminance": 0.71601
}

Semantic roles & 50–950 ramp

primary
#E2E34A
secondary
#34339E
accent
#38F039
background
#FFFEFC
surface
#FEFDF3
border
#D6D5CD
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2E34A

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

Preview Lab → · Contrast checker → · Palette generator →

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