#E0CF58#E0CF58

#E0CF58 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.6% C 0.140 H 101.2°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#E0CF58
RGBrgb(224, 207, 88)
HSLhsl(53, 69%, 61%)
HSVhsv(53, 61%, 88%)
CMYKcmyk(0%, 7.6%, 60.7%, 12.2%)
CIE-LABlab(82.48, -8.27, 59.71)
CIE-LCHlch(82.48, 60.28, 97.88°)
OKLaboklab(84.61% -0.0271 0.1369)
OKLCHoklch(84.61% 0.14 101.2)
XYZxyz(54.8168, 61.1797, 18.1520)
Luminance0.6118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CF58 #5869E0
analogous
#E08B58 #E0CF58 #ADE058
triadic
#E0CF58 #58E0CF #CF58E0
tetradic
#E0CF58 #58E08B #5869E0 #E058AD
square
#E0CF58 #58E08B #5869E0 #E058AD
split-complementary
#E0CF58 #58ADE0 #8B58E0
monochromatic
#A0901E #D4BE27 #E0CF58 #EADE8C #F3EDBF

Accessibility & contrast

On white

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

On black

13.24
#E0CF58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0CF58
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0CF58#FFFFFF#000000##000000
##E0CF581.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e0cf58;
/* rgb */ color: rgb(224, 207, 88);
/* oklch */ color: oklch(84.6% 0.140 101.2);
Tailwind
colors: {
  custom: {
    50: '#eddd8c',
    500: '#e0cf58',
    950: '#000000',
  },
}
SCSS
$custom: #e0cf58;
$custom-light: #eddd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e0cf58",
  "rgb": {
    "r": 224,
    "g": 207,
    "b": 88
  },
  "hsl": {
    "h": 52.5,
    "s": 68.687,
    "l": 61.176
  },
  "oklch": {
    "l": 0.84609,
    "c": 0.13957,
    "h": 101.2
  },
  "luminance": 0.61178
}

Semantic roles & 50–950 ramp

primary
#E0CF58
secondary
#3946A3
accent
#2CD115
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E0CF58

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

Preview Lab → · Contrast checker → · Palette generator →

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