#E5D051#E5D051

#E5D051 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 85.2% C 0.146 H 99.9°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#E5D051
RGBrgb(229, 208, 81)
HSLhsl(51, 74%, 61%)
HSVhsv(51, 65%, 90%)
CMYKcmyk(0%, 9.2%, 64.6%, 10.2%)
CIE-LABlab(83.11, -7.13, 63.49)
CIE-LCHlch(83.11, 63.89, 96.41°)
OKLaboklab(85.2% -0.025 0.1438)
OKLCHoklch(85.2% 0.146 99.9)
XYZxyz(56.3566, 62.3663, 16.8524)
Luminance0.6236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D051 #5166E5
analogous
#E58651 #E5D051 #B0E551
triadic
#E5D051 #51E5D0 #D051E5
tetradic
#E5D051 #51E586 #5166E5 #E551B0
square
#E5D051 #51E586 #5166E5 #E551B0
split-complementary
#E5D051 #51B0E5 #8651E5
monochromatic
#A39018 #D8BE20 #E5D051 #EDDE86 #F5EDBB

Accessibility & contrast

On white

1.56
#E5D051 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.47
#E5D051 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D051
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D051#FFFFFF#000000##000000
##E5D0511.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA41
Deuteranopia (green-blind)
#E9D258
Tritanopia (blue-blind)
#F6C2B5
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e5d051;
/* rgb */ color: rgb(229, 208, 81);
/* oklch */ color: oklch(85.2% 0.146 99.9);
Tailwind
colors: {
  custom: {
    50: '#f1de88',
    500: '#e5d051',
    950: '#000000',
  },
}
SCSS
$custom: #e5d051;
$custom-light: #f1de88;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d051",
  "rgb": {
    "r": 229,
    "g": 208,
    "b": 81
  },
  "hsl": {
    "h": 51.486,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.85195,
    "c": 0.14595,
    "h": 99.9
  },
  "luminance": 0.62364
}

Semantic roles & 50–950 ramp

primary
#E5D051
secondary
#3545A6
accent
#2CD60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5D051

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

Preview Lab → · Contrast checker → · Palette generator →

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