#E5E254#E5E254

#E5E254 is a very light, vivid yellow. Relative luminance 0.717; OKLCH L 89.0% C 0.160 H 108.1°. Best body text is #000000 at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#E5E254
RGBrgb(229, 226, 84)
HSLhsl(59, 74%, 61%)
HSVhsv(59, 63%, 90%)
CMYKcmyk(0%, 1.3%, 63.3%, 10.2%)
CIE-LABlab(87.82, -15.95, 67.23)
CIE-LCHlch(87.82, 69.10, 103.35°)
OKLaboklab(88.95% -0.0497 0.1521)
OKLCHoklch(88.95% 0.16 108.1)
XYZxyz(61.1117, 71.6927, 19.0047)
Luminance0.7169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E254 #5457E5
analogous
#E59A54 #E5E254 #A0E554
triadic
#E5E254 #54E5E2 #E254E5
tetradic
#E5E254 #54E59A #5457E5 #E554A0
square
#E5E254 #54E59A #5457E5 #E554A0
split-complementary
#E5E254 #54A0E5 #9A54E5
monochromatic
#A5A319 #DBD721 #E5E254 #EDEB89 #F5F4BE

Accessibility & contrast

On white

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

On black

15.34
#E5E254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E254
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E254#FFFFFF#000000##000000
##E5E2541.001.3715.3415.34
#FFFFFF1.371.0021.0021.00
#00000015.3421.001.001.00
##00000015.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D941
Deuteranopia (green-blind)
#F6DF5D
Tritanopia (blue-blind)
#F5D4C5
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e5e254;
/* rgb */ color: rgb(229, 226, 84);
/* oklch */ color: oklch(89.0% 0.160 108.1);
Tailwind
colors: {
  custom: {
    50: '#f0ea8b',
    500: '#e5e254',
    950: '#000000',
  },
}
SCSS
$custom: #e5e254;
$custom-light: #f0ea8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e254",
  "rgb": {
    "r": 229,
    "g": 226,
    "b": 84
  },
  "hsl": {
    "h": 58.759,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.88951,
    "c": 0.16005,
    "h": 108.1
  },
  "luminance": 0.71691
}

Semantic roles & 50–950 ramp

primary
#E5E254
secondary
#3638A8
accent
#14D610
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E5E254

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

Preview Lab → · Contrast checker → · Palette generator →

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