#E4E959#E4E959

#E4E959 is a very light, vivid yellow. Relative luminance 0.755; OKLCH L 90.4% C 0.164 H 111.2°. Best body text is #000000 at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#E4E959
RGBrgb(228, 233, 89)
HSLhsl(62, 77%, 63%)
HSVhsv(62, 62%, 91%)
CMYKcmyk(2.1%, 0%, 61.8%, 8.6%)
CIE-LABlab(89.62, -19.47, 67.10)
CIE-LCHlch(89.62, 69.87, 106.18°)
OKLaboklab(90.38% -0.059 0.1526)
OKLCHoklch(90.38% 0.164 111.2)
XYZxyz(62.9388, 75.4946, 20.7057)
Luminance0.7549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E959 #5E59E9
analogous
#E9A659 #E4E959 #9CE959
triadic
#E4E959 #59E4E9 #E959E4
tetradic
#E4E959 #59E9A6 #5E59E9 #E9599C
square
#E4E959 #59E9A6 #5E59E9 #E9599C
split-complementary
#E4E959 #599CE9 #A659E9
monochromatic
#ABB017 #DBE223 #E4E959 #EDF08F #F6F7C5

Accessibility & contrast

On white

1.30
#E4E959 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.10
#E4E959 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E959
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E959#FFFFFF#000000##000000
##E4E9591.001.3016.1016.10
#FFFFFF1.301.0021.0021.00
#00000016.1021.001.001.00
##00000016.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF47
Deuteranopia (green-blind)
#FBE362
Tritanopia (blue-blind)
#F3DCCB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e4e959;
/* rgb */ color: rgb(228, 233, 89);
/* oklch */ color: oklch(90.4% 0.164 111.2);
Tailwind
colors: {
  custom: {
    50: '#f0ef8e',
    500: '#e4e959',
    950: '#000000',
  },
}
SCSS
$custom: #e4e959;
$custom-light: #f0ef8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e959",
  "rgb": {
    "r": 228,
    "g": 233,
    "b": 89
  },
  "hsl": {
    "h": 62.083,
    "s": 76.596,
    "l": 63.137
  },
  "oklch": {
    "l": 0.90384,
    "c": 0.16362,
    "h": 111.2
  },
  "luminance": 0.75493
}

Semantic roles & 50–950 ramp

primary
#E4E959
secondary
#3A35B1
accent
#0DD914
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E4E959

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

Preview Lab → · Contrast checker → · Palette generator →

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