#E8CF59#E8CF59

#E8CF59 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 85.3% C 0.139 H 97.4°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#E8CF59
RGBrgb(232, 207, 89)
HSLhsl(50, 76%, 63%)
HSVhsv(50, 62%, 91%)
CMYKcmyk(0%, 10.8%, 61.6%, 9%)
CIE-LABlab(83.18, -4.88, 60.25)
CIE-LCHlch(83.18, 60.45, 94.63°)
OKLaboklab(85.34% -0.0178 0.138)
OKLCHoklch(85.34% 0.139 97.4)
XYZxyz(57.3971, 62.5054, 18.4907)
Luminance0.6250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CF59 #5972E8
analogous
#E88759 #E8CF59 #BAE859
triadic
#E8CF59 #59E8CF #CF59E8
tetradic
#E8CF59 #59E887 #5972E8 #E859BA
square
#E8CF59 #59E887 #5972E8 #E859BA
split-complementary
#E8CF59 #59BAE8 #8759E8
monochromatic
#AE9418 #E1BF23 #E8CF59 #EFDF8F #F7EEC5

Accessibility & contrast

On white

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

On black

13.50
#E8CF59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CF59
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CF59#FFFFFF#000000##000000
##E8CF591.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA4C
Deuteranopia (green-blind)
#E8D35F
Tritanopia (blue-blind)
#F9C1B6
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e8cf59;
/* rgb */ color: rgb(232, 207, 89);
/* oklch */ color: oklch(85.3% 0.139 97.4);
Tailwind
colors: {
  custom: {
    50: '#f2dd8c',
    500: '#e8cf59',
    950: '#000000',
  },
}
SCSS
$custom: #e8cf59;
$custom-light: #f2dd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cf59",
  "rgb": {
    "r": 232,
    "g": 207,
    "b": 89
  },
  "hsl": {
    "h": 49.51,
    "s": 75.661,
    "l": 62.941
  },
  "oklch": {
    "l": 0.85338,
    "c": 0.13913,
    "h": 97.4
  },
  "luminance": 0.62503
}

Semantic roles & 50–950 ramp

primary
#E8CF59
secondary
#364BAF
accent
#31D80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8CF59

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

Preview Lab → · Contrast checker → · Palette generator →

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