#E4CD58#E4CD58

#E4CD58 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.6% C 0.138 H 98.2°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#E4CD58
RGBrgb(228, 205, 88)
HSLhsl(50, 72%, 62%)
HSVhsv(50, 61%, 89%)
CMYKcmyk(0%, 10.1%, 61.4%, 10.6%)
CIE-LABlab(82.31, -5.59, 59.62)
CIE-LCHlch(82.31, 59.89, 95.36°)
OKLaboklab(84.56% -0.0197 0.1366)
OKLCHoklch(84.56% 0.138 98.2)
XYZxyz(55.5900, 60.8637, 18.0504)
Luminance0.6086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CD58 #586FE4
analogous
#E48758 #E4CD58 #B5E458
triadic
#E4CD58 #58E4CD #CD58E4
tetradic
#E4CD58 #58E487 #586FE4 #E458B5
square
#E4CD58 #58E487 #586FE4 #E458B5
split-complementary
#E4CD58 #58B5E4 #8758E4
monochromatic
#A7901B #DBBD23 #E4CD58 #EDDD8D #F5EDC1

Accessibility & contrast

On white

1.59
#E4CD58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.17
#E4CD58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CD58
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CD58#FFFFFF#000000##000000
##E4CD581.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84B
Deuteranopia (green-blind)
#E6D05E
Tritanopia (blue-blind)
#F5BFB4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e4cd58;
/* rgb */ color: rgb(228, 205, 88);
/* oklch */ color: oklch(84.6% 0.138 98.2);
Tailwind
colors: {
  custom: {
    50: '#f0db8c',
    500: '#e4cd58',
    950: '#000000',
  },
}
SCSS
$custom: #e4cd58;
$custom-light: #f0db8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cd58",
  "rgb": {
    "r": 228,
    "g": 205,
    "b": 88
  },
  "hsl": {
    "h": 50.143,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84557,
    "c": 0.13804,
    "h": 98.2
  },
  "luminance": 0.60861
}

Semantic roles & 50–950 ramp

primary
#E4CD58
secondary
#374AA9
accent
#31D411
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4CD58

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

Preview Lab → · Contrast checker → · Palette generator →

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