#E8CD58#E8CD58

#E8CD58 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.9% C 0.138 H 96.3°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#E8CD58
RGBrgb(232, 205, 88)
HSLhsl(49, 76%, 63%)
HSVhsv(49, 62%, 91%)
CMYKcmyk(0%, 11.6%, 62.1%, 9%)
CIE-LABlab(82.66, -3.93, 60.11)
CIE-LCHlch(82.66, 60.24, 93.74°)
OKLaboklab(84.92% -0.0152 0.1376)
OKLCHoklch(84.92% 0.138 96.3)
XYZxyz(56.8740, 61.5257, 18.1105)
Luminance0.6152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CD58 #5873E8
analogous
#E88558 #E8CD58 #BBE858
triadic
#E8CD58 #58E8CD #CD58E8
tetradic
#E8CD58 #58E885 #5873E8 #E858BB
square
#E8CD58 #58E885 #5873E8 #E858BB
split-complementary
#E8CD58 #58BBE8 #8558E8
monochromatic
#AE9218 #E1BD22 #E8CD58 #EFDD8E #F7EDC4

Accessibility & contrast

On white

1.58
#E8CD58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.30
#E8CD58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CD58
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CD58#FFFFFF#000000##000000
##E8CD581.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94B
Deuteranopia (green-blind)
#E7D25E
Tritanopia (blue-blind)
#F9BFB4
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e8cd58;
/* rgb */ color: rgb(232, 205, 88);
/* oklch */ color: oklch(84.9% 0.138 96.3);
Tailwind
colors: {
  custom: {
    50: '#f3db8c',
    500: '#e8cd58',
    950: '#000000',
  },
}
SCSS
$custom: #e8cd58;
$custom-light: #f3db8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cd58",
  "rgb": {
    "r": 232,
    "g": 205,
    "b": 88
  },
  "hsl": {
    "h": 48.75,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.84922,
    "c": 0.1384,
    "h": 96.3
  },
  "luminance": 0.61523
}

Semantic roles & 50–950 ramp

primary
#E8CD58
secondary
#364CAF
accent
#33D80E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8CD58

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

Preview Lab → · Contrast checker → · Palette generator →

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