#E8CF57#E8CF57

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

Color values

HEX#E8CF57
RGBrgb(232, 207, 87)
HSLhsl(50, 76%, 63%)
HSVhsv(50, 63%, 91%)
CMYKcmyk(0%, 10.8%, 62.5%, 9%)
CIE-LABlab(83.16, -5.01, 61.10)
CIE-LCHlch(83.16, 61.30, 94.69°)
OKLaboklab(85.32% -0.0184 0.1395)
OKLCHoklch(85.32% 0.141 97.5)
XYZxyz(57.3143, 62.4722, 18.0544)
Luminance0.6247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CF57 #5770E8
analogous
#E88657 #E8CF57 #B9E857
triadic
#E8CF57 #57E8CF #CF57E8
tetradic
#E8CF57 #57E886 #5770E8 #E857B9
square
#E8CF57 #57E886 #5770E8 #E857B9
split-complementary
#E8CF57 #57B9E8 #8657E8
monochromatic
#AD9318 #E1C021 #E8CF57 #EFDE8D #F7EEC3

Accessibility & contrast

On white

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

On black

13.49
#E8CF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CF57
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CF57#FFFFFF#000000##000000
##E8CF571.001.5613.4913.49
#FFFFFF1.561.0021.0021.00
#00000013.4921.001.001.00
##00000013.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA49
Deuteranopia (green-blind)
#E9D35D
Tritanopia (blue-blind)
#F9C1B5
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e8cf57;
/* rgb */ color: rgb(232, 207, 87);
/* oklch */ color: oklch(85.3% 0.141 97.5);
Tailwind
colors: {
  custom: {
    50: '#f3dd8b',
    500: '#e8cf57',
    950: '#000000',
  },
}
SCSS
$custom: #e8cf57;
$custom-light: #f3dd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cf57",
  "rgb": {
    "r": 232,
    "g": 207,
    "b": 87
  },
  "hsl": {
    "h": 49.655,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.85318,
    "c": 0.14072,
    "h": 97.5
  },
  "luminance": 0.6247
}

Semantic roles & 50–950 ramp

primary
#E8CF57
secondary
#354AAE
accent
#30D80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8CF57

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

Preview Lab → · Contrast checker → · Palette generator →

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