#E5E958#E5E958

#E5E958 is a very light, vivid yellow. Relative luminance 0.756; OKLCH L 90.5% C 0.164 H 110.8°. Best body text is #000000 at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#E5E958
RGBrgb(229, 233, 88)
HSLhsl(62, 77%, 63%)
HSVhsv(62, 62%, 91%)
CMYKcmyk(1.7%, 0%, 62.2%, 8.6%)
CIE-LABlab(89.69, -19.13, 67.60)
CIE-LCHlch(89.69, 70.25, 105.80°)
OKLaboklab(90.46% -0.0582 0.1535)
OKLCHoklch(90.46% 0.164 110.8)
XYZxyz(63.2153, 75.6420, 20.5010)
Luminance0.7564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E958 #5C58E9
analogous
#E9A458 #E5E958 #9CE958
triadic
#E5E958 #58E5E9 #E958E5
tetradic
#E5E958 #58E9A4 #5C58E9 #E9589C
square
#E5E958 #58E9A4 #5C58E9 #E9589C
split-complementary
#E5E958 #589CE9 #A458E9
monochromatic
#ABAF17 #DDE222 #E5E958 #EDF08E #F6F7C4

Accessibility & contrast

On white

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

On black

16.13
#E5E958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E958
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E958#FFFFFF#000000##000000
##E5E9581.001.3016.1316.13
#FFFFFF1.301.0021.0021.00
#00000016.1321.001.001.00
##00000016.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF46
Deuteranopia (green-blind)
#FBE461
Tritanopia (blue-blind)
#F4DBCB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e5e958;
/* rgb */ color: rgb(229, 233, 88);
/* oklch */ color: oklch(90.5% 0.164 110.8);
Tailwind
colors: {
  custom: {
    50: '#f0ef8e',
    500: '#e5e958',
    950: '#000000',
  },
}
SCSS
$custom: #e5e958;
$custom-light: #f0ef8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e958",
  "rgb": {
    "r": 229,
    "g": 233,
    "b": 88
  },
  "hsl": {
    "h": 61.655,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.90455,
    "c": 0.16417,
    "h": 110.8
  },
  "luminance": 0.7564
}

Semantic roles & 50–950 ramp

primary
#E5E958
secondary
#3835B0
accent
#0DD912
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E5E958

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

Preview Lab → · Contrast checker → · Palette generator →

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