#E5CF51#E5CF51

#E5CF51 is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 85.0% C 0.145 H 99.3°. Best body text is #000000 at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#E5CF51
RGBrgb(229, 207, 81)
HSLhsl(51, 74%, 61%)
HSVhsv(51, 65%, 90%)
CMYKcmyk(0%, 9.6%, 64.6%, 10.2%)
CIE-LABlab(82.85, -6.63, 63.22)
CIE-LCHlch(82.85, 63.57, 95.98°)
OKLaboklab(84.99% -0.0235 0.1432)
OKLCHoklch(84.99% 0.145 99.3)
XYZxyz(56.1135, 61.8803, 16.7714)
Luminance0.6188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CF51 #5167E5
analogous
#E58551 #E5CF51 #B1E551
triadic
#E5CF51 #51E5CF #CF51E5
tetradic
#E5CF51 #51E585 #5167E5 #E551B1
square
#E5CF51 #51E585 #5167E5 #E551B1
split-complementary
#E5CF51 #51B1E5 #8551E5
monochromatic
#A38F18 #D8BD20 #E5CF51 #EDDE86 #F5ECBB

Accessibility & contrast

On white

1.57
#E5CF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.38
#E5CF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CF51
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CF51#FFFFFF#000000##000000
##E5CF511.001.5713.3813.38
#FFFFFF1.571.0021.0021.00
#00000013.3821.001.001.00
##00000013.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA41
Deuteranopia (green-blind)
#E8D258
Tritanopia (blue-blind)
#F6C1B5
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e5cf51;
/* rgb */ color: rgb(229, 207, 81);
/* oklch */ color: oklch(85.0% 0.145 99.3);
Tailwind
colors: {
  custom: {
    50: '#f1dd88',
    500: '#e5cf51',
    950: '#000000',
  },
}
SCSS
$custom: #e5cf51;
$custom-light: #f1dd88;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cf51",
  "rgb": {
    "r": 229,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 51.081,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.84991,
    "c": 0.14514,
    "h": 99.3
  },
  "luminance": 0.61878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E5CF51

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

Preview Lab → · Contrast checker → · Palette generator →

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