#E8CF54#E8CF54

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

Color values

HEX#E8CF54
RGBrgb(232, 207, 84)
HSLhsl(50, 76%, 62%)
HSVhsv(50, 64%, 91%)
CMYKcmyk(0%, 10.8%, 63.8%, 9%)
CIE-LABlab(83.14, -5.20, 62.35)
CIE-LCHlch(83.14, 62.57, 94.76°)
OKLaboklab(85.29% -0.0193 0.1417)
OKLCHoklch(85.29% 0.143 97.8)
XYZxyz(57.1943, 62.4242, 17.4222)
Luminance0.6242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CF54 #546DE8
analogous
#E88554 #E8CF54 #B7E854
triadic
#E8CF54 #54E8CF #CF54E8
tetradic
#E8CF54 #54E885 #546DE8 #E854B7
square
#E8CF54 #54E885 #546DE8 #E854B7
split-complementary
#E8CF54 #54B7E8 #8554E8
monochromatic
#AB9217 #E1C01E #E8CF54 #EFDE8A #F7EDC0

Accessibility & contrast

On white

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

On black

13.48
#E8CF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CF54
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CF54#FFFFFF#000000##000000
##E8CF541.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8cf54;
/* rgb */ color: rgb(232, 207, 84);
/* oklch */ color: oklch(85.3% 0.143 97.8);
Tailwind
colors: {
  custom: {
    50: '#f3dd89',
    500: '#e8cf54',
    950: '#000000',
  },
}
SCSS
$custom: #e8cf54;
$custom-light: #f3dd89;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cf54",
  "rgb": {
    "r": 232,
    "g": 207,
    "b": 84
  },
  "hsl": {
    "h": 49.865,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.8529,
    "c": 0.14305,
    "h": 97.8
  },
  "luminance": 0.62422
}

Semantic roles & 50–950 ramp

primary
#E8CF54
secondary
#3448AC
accent
#2FD80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8CF54

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

Preview Lab → · Contrast checker → · Palette generator →

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