#E0CD58#E0CD58

#E0CD58 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 84.2% C 0.138 H 100.1°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#E0CD58
RGBrgb(224, 205, 88)
HSLhsl(52, 69%, 61%)
HSVhsv(52, 61%, 88%)
CMYKcmyk(0%, 8.5%, 60.7%, 12.2%)
CIE-LABlab(81.96, -7.25, 59.14)
CIE-LCHlch(81.96, 59.58, 96.99°)
OKLaboklab(84.2% -0.0242 0.1357)
OKLCHoklch(84.2% 0.138 100.1)
XYZxyz(54.3354, 60.2168, 17.9915)
Luminance0.6021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CD58 #586BE0
analogous
#E08958 #E0CD58 #AFE058
triadic
#E0CD58 #58E0CD #CD58E0
tetradic
#E0CD58 #58E089 #586BE0 #E058AF
square
#E0CD58 #58E089 #586BE0 #E058AF
split-complementary
#E0CD58 #58AFE0 #8958E0
monochromatic
#A08E1E #D4BB27 #E0CD58 #EADC8C #F3ECBF

Accessibility & contrast

On white

1.61
#E0CD58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.04
#E0CD58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0CD58
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0CD58#FFFFFF#000000##000000
##E0CD581.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84B
Deuteranopia (green-blind)
#E4CF5E
Tritanopia (blue-blind)
#F0C0B4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e0cd58;
/* rgb */ color: rgb(224, 205, 88);
/* oklch */ color: oklch(84.2% 0.138 100.1);
Tailwind
colors: {
  custom: {
    50: '#eddc8c',
    500: '#e0cd58',
    950: '#000000',
  },
}
SCSS
$custom: #e0cd58;
$custom-light: #eddc8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e0cd58",
  "rgb": {
    "r": 224,
    "g": 205,
    "b": 88
  },
  "hsl": {
    "h": 51.618,
    "s": 68.687,
    "l": 61.176
  },
  "oklch": {
    "l": 0.84197,
    "c": 0.13784,
    "h": 100.1
  },
  "luminance": 0.60215
}

Semantic roles & 50–950 ramp

primary
#E0CD58
secondary
#3948A3
accent
#2FD115
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E0CD58

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

Preview Lab → · Contrast checker → · Palette generator →

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