#E4E259#E4E259

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

Color values

HEX#E4E259
RGBrgb(228, 226, 89)
HSLhsl(59, 72%, 62%)
HSVhsv(59, 61%, 89%)
CMYKcmyk(0%, 0.9%, 61%, 10.6%)
CIE-LABlab(87.78, -16.05, 65.13)
CIE-LCHlch(87.78, 67.08, 103.84°)
OKLaboklab(88.91% -0.0494 0.1484)
OKLCHoklch(88.91% 0.156 108.4)
XYZxyz(60.9964, 71.6097, 20.0582)
Luminance0.7161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E259 #595BE4
analogous
#E49D59 #E4E259 #A0E459
triadic
#E4E259 #59E4E2 #E259E4
tetradic
#E4E259 #59E49D #595BE4 #E459A0
square
#E4E259 #59E49D #595BE4 #E459A0
split-complementary
#E4E259 #59A0E4 #9D59E4
monochromatic
#A7A51B #DBD924 #E4E259 #EDEB8E #F5F4C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4E259#FFFFFF#000000##000000
##E4E2591.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)
#F3D948
Deuteranopia (green-blind)
#F5DE61
Tritanopia (blue-blind)
#F3D4C5
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e4e259;
/* rgb */ color: rgb(228, 226, 89);
/* oklch */ color: oklch(88.9% 0.156 108.4);
Tailwind
colors: {
  custom: {
    50: '#f0ea8e',
    500: '#e4e259',
    950: '#000000',
  },
}
SCSS
$custom: #e4e259;
$custom-light: #f0ea8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e259",
  "rgb": {
    "r": 228,
    "g": 226,
    "b": 89
  },
  "hsl": {
    "h": 59.137,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.88912,
    "c": 0.15644,
    "h": 108.4
  },
  "luminance": 0.71608
}

Semantic roles & 50–950 ramp

primary
#E4E259
secondary
#3839A9
accent
#14D411
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E4E259

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

Preview Lab → · Contrast checker → · Palette generator →

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