#E5E051#E5E051

#E5E051 is a very light, vivid yellow. Relative luminance 0.706; OKLCH L 88.5% C 0.160 H 107.3°. Best body text is #000000 at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#E5E051
RGBrgb(229, 224, 81)
HSLhsl(58, 74%, 61%)
HSVhsv(58, 65%, 90%)
CMYKcmyk(0%, 2.2%, 64.6%, 10.2%)
CIE-LABlab(87.27, -15.14, 67.85)
CIE-LCHlch(87.27, 69.52, 102.58°)
OKLaboklab(88.51% -0.0477 0.153)
OKLCHoklch(88.51% 0.16 107.3)
XYZxyz(60.4561, 70.5653, 18.2189)
Luminance0.7056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E051 #5156E5
analogous
#E59651 #E5E051 #A0E551
triadic
#E5E051 #51E5E0 #E051E5
tetradic
#E5E051 #51E596 #5156E5 #E551A0
square
#E5E051 #51E596 #5156E5 #E551A0
split-complementary
#E5E051 #51A0E5 #9651E5
monochromatic
#A39F18 #D8D220 #E5E051 #EDE986 #F5F3BB

Accessibility & contrast

On white

1.39
#E5E051 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.11
#E5E051 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E051
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E051#FFFFFF#000000##000000
##E5E0511.001.3915.1115.11
#FFFFFF1.391.0021.0021.00
#00000015.1121.001.001.00
##00000015.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D83E
Deuteranopia (green-blind)
#F5DD5A
Tritanopia (blue-blind)
#F5D2C3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e5e051;
/* rgb */ color: rgb(229, 224, 81);
/* oklch */ color: oklch(88.5% 0.160 107.3);
Tailwind
colors: {
  custom: {
    50: '#f1e989',
    500: '#e5e051',
    950: '#000000',
  },
}
SCSS
$custom: #e5e051;
$custom-light: #f1e989;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e051",
  "rgb": {
    "r": 229,
    "g": 224,
    "b": 81
  },
  "hsl": {
    "h": 57.973,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.88507,
    "c": 0.16027,
    "h": 107.3
  },
  "luminance": 0.70563
}

Semantic roles & 50–950 ramp

primary
#E5E051
secondary
#3538A6
accent
#16D60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E5E051

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

Preview Lab → · Contrast checker → · Palette generator →

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