#E2E239#E2E239

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

Color values

HEX#E2E239
RGBrgb(226, 226, 57)
HSLhsl(60, 74%, 55%)
HSVhsv(60, 75%, 89%)
CMYKcmyk(0%, 0%, 74.8%, 11.4%)
CIE-LABlab(87.42, -18.51, 76.35)
CIE-LCHlch(87.42, 78.56, 103.63°)
OKLaboklab(88.52% -0.0593 0.1671)
OKLCHoklch(88.52% 0.177 109.5)
XYZxyz(59.3011, 70.8587, 14.4234)
Luminance0.7086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E239 #3939E2
analogous
#E28D39 #E2E239 #8DE239
triadic
#E2E239 #39E2E2 #E239E2
tetradic
#E2E239 #39E28D #3939E2 #E2398D
square
#E2E239 #39E28D #3939E2 #E2398D
split-complementary
#E2E239 #398DE2 #8D39E2
monochromatic
#8C8C15 #C1C11C #E2E239 #EAEA6E #F2F2A4

Accessibility & contrast

On white

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

On black

15.17
#E2E239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E239
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E239#FFFFFF#000000##000000
##E2E2391.001.3815.1715.17
#FFFFFF1.381.0021.0021.00
#00000015.1721.001.001.00
##00000015.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2e239;
/* rgb */ color: rgb(226, 226, 57);
/* oklch */ color: oklch(88.5% 0.177 109.5);
Tailwind
colors: {
  custom: {
    50: '#efea7d',
    500: '#e2e239',
    950: '#000000',
  },
}
SCSS
$custom: #e2e239;
$custom-light: #efea7d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e239",
  "rgb": {
    "r": 226,
    "g": 226,
    "b": 57
  },
  "hsl": {
    "h": 60,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.88517,
    "c": 0.17725,
    "h": 109.5
  },
  "luminance": 0.70857
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2E239

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

Preview Lab → · Contrast checker → · Palette generator →

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