#ECD58E#ECD58E

#ECD58E is a very light, moderate yellow. Relative luminance 0.674; OKLCH L 87.6% C 0.093 H 92.2°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#ECD58E
RGBrgb(236, 213, 142)
HSLhsl(45, 71%, 74%)
HSVhsv(45, 40%, 93%)
CMYKcmyk(0%, 9.7%, 39.8%, 7.5%)
CIE-LABlab(85.69, -1.76, 37.99)
CIE-LCHlch(85.69, 38.04, 92.66°)
OKLaboklab(87.61% -0.0036 0.0933)
OKLCHoklch(87.61% 0.093 92.2)
XYZxyz(63.2703, 67.3766, 35.2581)
Luminance0.6737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD58E #8EA5EC
analogous
#ECA68E #ECD58E #D4EC8E
triadic
#ECD58E #8EECD5 #D58EEC
tetradic
#ECD58E #8EECA6 #8EA5EC #EC8ED4
square
#ECD58E #8EECA6 #8EA5EC #EC8ED4
split-complementary
#ECD58E #8ED4EC #A68EEC
monochromatic
#DAAE25 #E3C25A #ECD58E #F5E8C2 #FBF5E5

Accessibility & contrast

On white

1.45
#ECD58E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.47
#ECD58E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD58E
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD58E#FFFFFF#000000##000000
##ECD58E1.001.4514.4714.47
#FFFFFF1.451.0021.0021.00
#00000014.4721.001.001.00
##00000014.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D289
Deuteranopia (green-blind)
#EAD990
Tritanopia (blue-blind)
#FACAC3
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ecd58e;
/* rgb */ color: rgb(236, 213, 142);
/* oklch */ color: oklch(87.6% 0.093 92.2);
Tailwind
colors: {
  custom: {
    50: '#f3e1b0',
    500: '#ecd58e',
    950: '#000000',
  },
}
SCSS
$custom: #ecd58e;
$custom-light: #f3e1b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd58e",
  "rgb": {
    "r": 236,
    "g": 213,
    "b": 142
  },
  "hsl": {
    "h": 45.319,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.87612,
    "c": 0.0934,
    "h": 92.2
  },
  "luminance": 0.67374
}

Semantic roles & 50–950 ramp

primary
#ECD58E
secondary
#5773C7
accent
#41D312
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECD58E

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

Preview Lab → · Contrast checker → · Palette generator →

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