#E5CF56#E5CF56

#E5CF56 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 85.0% C 0.141 H 99.0°. Best body text is #000000 at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#E5CF56
RGBrgb(229, 207, 86)
HSLhsl(51, 73%, 62%)
HSVhsv(51, 62%, 90%)
CMYKcmyk(0%, 9.6%, 62.4%, 10.2%)
CIE-LABlab(82.89, -6.32, 61.15)
CIE-LCHlch(82.89, 61.48, 95.90°)
OKLaboklab(85.04% -0.0221 0.1396)
OKLCHoklch(85.04% 0.141 99)
XYZxyz(56.3080, 61.9580, 17.7954)
Luminance0.6196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CF56 #566CE5
analogous
#E58856 #E5CF56 #B4E556
triadic
#E5CF56 #56E5CF #CF56E5
tetradic
#E5CF56 #56E588 #566CE5 #E556B4
square
#E5CF56 #56E588 #566CE5 #E556B4
split-complementary
#E5CF56 #56B4E5 #8856E5
monochromatic
#A7911A #DCBF22 #E5CF56 #EDDE8B #F5EDC0

Accessibility & contrast

On white

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

On black

13.39
#E5CF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CF56
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CF56#FFFFFF#000000##000000
##E5CF561.001.5713.3913.39
#FFFFFF1.571.0021.0021.00
#00000013.3921.001.001.00
##00000013.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5cf56;
/* rgb */ color: rgb(229, 207, 86);
/* oklch */ color: oklch(85.0% 0.141 99.0);
Tailwind
colors: {
  custom: {
    50: '#f0dd8b',
    500: '#e5cf56',
    950: '#000000',
  },
}
SCSS
$custom: #e5cf56;
$custom-light: #f0dd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cf56",
  "rgb": {
    "r": 229,
    "g": 207,
    "b": 86
  },
  "hsl": {
    "h": 50.769,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.85037,
    "c": 0.14131,
    "h": 99
  },
  "luminance": 0.61956
}

Semantic roles & 50–950 ramp

primary
#E5CF56
secondary
#3648A9
accent
#2ED510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5CF56

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

Preview Lab → · Contrast checker → · Palette generator →

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