#E5E140#E5E140

#E5E140 is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 88.6% C 0.172 H 108.0°. Best body text is #000000 at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#E5E140
RGBrgb(229, 225, 64)
HSLhsl(59, 76%, 57%)
HSVhsv(59, 72%, 90%)
CMYKcmyk(0%, 1.7%, 72.1%, 10.2%)
CIE-LABlab(87.43, -16.49, 74.21)
CIE-LCHlch(87.43, 76.02, 102.53°)
OKLaboklab(88.6% -0.0532 0.1636)
OKLCHoklch(88.6% 0.172 108)
XYZxyz(60.1660, 70.8806, 15.3615)
Luminance0.7088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E140 #4044E5
analogous
#E58E40 #E5E140 #97E540
triadic
#E5E140 #40E5E1 #E140E5
tetradic
#E5E140 #40E58E #4044E5 #E54097
square
#E5E140 #40E58E #4044E5 #E54097
split-complementary
#E5E140 #4097E5 #8E40E5
monochromatic
#969314 #CCC81C #E5E140 #ECE976 #F4F2AC

Accessibility & contrast

On white

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

On black

15.18
#E5E140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E140
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E140#FFFFFF#000000##000000
##E5E1401.001.3815.1815.18
#FFFFFF1.381.0021.0021.00
#00000015.1821.001.001.00
##00000015.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D820
Deuteranopia (green-blind)
#F6DE4C
Tritanopia (blue-blind)
#F5D2C2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e5e140;
/* rgb */ color: rgb(229, 225, 64);
/* oklch */ color: oklch(88.6% 0.172 108.0);
Tailwind
colors: {
  custom: {
    50: '#f1ea80',
    500: '#e5e140',
    950: '#000000',
  },
}
SCSS
$custom: #e5e140;
$custom-light: #f1ea80;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e140",
  "rgb": {
    "r": 229,
    "g": 225,
    "b": 64
  },
  "hsl": {
    "h": 58.545,
    "s": 76.037,
    "l": 57.451
  },
  "oklch": {
    "l": 0.88595,
    "c": 0.17203,
    "h": 108
  },
  "luminance": 0.70879
}

Semantic roles & 50–950 ramp

primary
#E5E140
secondary
#2F329A
accent
#3AF335
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #E5E140

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

Preview Lab → · Contrast checker → · Palette generator →

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