#E8CF55#E8CF55

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

Color values

HEX#E8CF55
RGBrgb(232, 207, 85)
HSLhsl(50, 76%, 62%)
HSVhsv(50, 63%, 91%)
CMYKcmyk(0%, 10.8%, 63.4%, 9%)
CIE-LABlab(83.15, -5.13, 61.93)
CIE-LCHlch(83.15, 62.15, 94.74°)
OKLaboklab(85.3% -0.019 0.141)
OKLCHoklch(85.3% 0.142 97.7)
XYZxyz(57.2337, 62.4400, 17.6300)
Luminance0.6244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CF55 #556EE8
analogous
#E88655 #E8CF55 #B8E855
triadic
#E8CF55 #55E8CF #CF55E8
tetradic
#E8CF55 #55E886 #556EE8 #E855B8
square
#E8CF55 #55E886 #556EE8 #E855B8
split-complementary
#E8CF55 #55B8E8 #8655E8
monochromatic
#AB9217 #E1C01F #E8CF55 #EFDE8B #F7EDC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8CF55#FFFFFF#000000##000000
##E8CF551.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)
#E2CA47
Deuteranopia (green-blind)
#E9D35B
Tritanopia (blue-blind)
#F9C1B5
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e8cf55;
/* rgb */ color: rgb(232, 207, 85);
/* oklch */ color: oklch(85.3% 0.142 97.7);
Tailwind
colors: {
  custom: {
    50: '#f3dd8a',
    500: '#e8cf55',
    950: '#000000',
  },
}
SCSS
$custom: #e8cf55;
$custom-light: #f3dd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cf55",
  "rgb": {
    "r": 232,
    "g": 207,
    "b": 85
  },
  "hsl": {
    "h": 49.796,
    "s": 76.166,
    "l": 62.157
  },
  "oklch": {
    "l": 0.85299,
    "c": 0.14227,
    "h": 97.7
  },
  "luminance": 0.62437
}

Semantic roles & 50–950 ramp

primary
#E8CF55
secondary
#3549AD
accent
#30D80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8CF55

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

Preview Lab → · Contrast checker → · Palette generator →

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