#E5E340#E5E340

#E5E340 is a very light, vivid yellow. Relative luminance 0.720; OKLCH L 89.0% C 0.174 H 108.8°. Best body text is #000000 at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#E5E340
RGBrgb(229, 227, 64)
HSLhsl(59, 76%, 57%)
HSVhsv(59, 72%, 90%)
CMYKcmyk(0%, 0.9%, 72.1%, 10.2%)
CIE-LABlab(87.95, -17.47, 74.70)
CIE-LCHlch(87.95, 76.72, 103.16°)
OKLaboklab(89.02% -0.0559 0.1647)
OKLCHoklch(89.02% 0.174 108.8)
XYZxyz(60.7099, 71.9683, 15.5428)
Luminance0.7197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E340 #4042E5
analogous
#E59140 #E5E340 #94E540
triadic
#E5E340 #40E5E3 #E340E5
tetradic
#E5E340 #40E591 #4042E5 #E54094
square
#E5E340 #40E591 #4042E5 #E54094
split-complementary
#E5E340 #4094E5 #9140E5
monochromatic
#969514 #CCCA1C #E5E340 #ECEB76 #F4F3AC

Accessibility & contrast

On white

1.36
#E5E340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.39
#E5E340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E340
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E340#FFFFFF#000000##000000
##E5E3401.001.3615.3915.39
#FFFFFF1.361.0021.0021.00
#00000015.3921.001.001.00
##00000015.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DA1F
Deuteranopia (green-blind)
#F8DF4D
Tritanopia (blue-blind)
#F5D4C4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e5e340;
/* rgb */ color: rgb(229, 227, 64);
/* oklch */ color: oklch(89.0% 0.174 108.8);
Tailwind
colors: {
  custom: {
    50: '#f1eb80',
    500: '#e5e340',
    950: '#000000',
  },
}
SCSS
$custom: #e5e340;
$custom-light: #f1eb80;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e340",
  "rgb": {
    "r": 229,
    "g": 227,
    "b": 64
  },
  "hsl": {
    "h": 59.273,
    "s": 76.037,
    "l": 57.451
  },
  "oklch": {
    "l": 0.89015,
    "c": 0.1739,
    "h": 108.8
  },
  "luminance": 0.71966
}

Semantic roles & 50–950 ramp

primary
#E5E340
secondary
#2F309A
accent
#37F335
background
#FFFEFB
surface
#FFFDF2
border
#D7D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #E5E340

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

Preview Lab → · Contrast checker → · Palette generator →

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