#ECD57A#ECD57A

#ECD57A is a very light, moderate yellow. Relative luminance 0.668; OKLCH L 87.3% C 0.114 H 95.6°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#ECD57A
RGBrgb(236, 213, 122)
HSLhsl(48, 75%, 70%)
HSVhsv(48, 48%, 93%)
CMYKcmyk(0%, 9.7%, 48.3%, 7.5%)
CIE-LABlab(85.42, -3.74, 47.60)
CIE-LCHlch(85.42, 47.75, 94.50°)
OKLaboklab(87.3% -0.0111 0.1139)
OKLCHoklch(87.3% 0.114 95.6)
XYZxyz(61.9011, 66.8290, 28.0472)
Luminance0.6683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD57A #7A91EC
analogous
#EC9C7A #ECD57A #CAEC7A
triadic
#ECD57A #7AECD5 #D57AEC
tetradic
#ECD57A #7AEC9C #7A91EC #EC7ACA
square
#ECD57A #7AEC9C #7A91EC #EC7ACA
split-complementary
#ECD57A #7ACAEC #9C7AEC
monochromatic
#CEAB1D #E4C444 #ECD57A #F4E6B0 #FBF7E4

Accessibility & contrast

On white

1.46
#ECD57A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.37
#ECD57A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD57A
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD57A#FFFFFF#000000##000000
##ECD57A1.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D172
Deuteranopia (green-blind)
#ECD97E
Tritanopia (blue-blind)
#FBC9BF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ecd57a;
/* rgb */ color: rgb(236, 213, 122);
/* oklch */ color: oklch(87.3% 0.114 95.6);
Tailwind
colors: {
  custom: {
    50: '#f4e1a2',
    500: '#ecd57a',
    950: '#000000',
  },
}
SCSS
$custom: #ecd57a;
$custom-light: #f4e1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd57a",
  "rgb": {
    "r": 236,
    "g": 213,
    "b": 122
  },
  "hsl": {
    "h": 47.895,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.87304,
    "c": 0.11444,
    "h": 95.6
  },
  "luminance": 0.66827
}

Semantic roles & 50–950 ramp

primary
#ECD57A
secondary
#455FC5
accent
#37D70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD57A

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

Preview Lab → · Contrast checker → · Palette generator →

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