#ECD57B#ECD57B

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

Color values

HEX#ECD57B
RGBrgb(236, 213, 123)
HSLhsl(48, 75%, 70%)
HSVhsv(48, 48%, 93%)
CMYKcmyk(0%, 9.7%, 47.9%, 7.5%)
CIE-LABlab(85.43, -3.65, 47.13)
CIE-LCHlch(85.43, 47.27, 94.43°)
OKLaboklab(87.32% -0.0107 0.1129)
OKLCHoklch(87.32% 0.113 95.4)
XYZxyz(61.9634, 66.8539, 28.3752)
Luminance0.6685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD57B #7B92EC
analogous
#EC9D7B #ECD57B #CAEC7B
triadic
#ECD57B #7BECD5 #D57BEC
tetradic
#ECD57B #7BEC9D #7B92EC #EC7BCA
square
#ECD57B #7BEC9D #7B92EC #EC7BCA
split-complementary
#ECD57B #7BCAEC #9D7BEC
monochromatic
#CFAB1E #E4C446 #ECD57B #F4E6B0 #FBF6E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD57B#FFFFFF#000000##000000
##ECD57B1.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)
#E6D174
Deuteranopia (green-blind)
#ECD97F
Tritanopia (blue-blind)
#FBC9C0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ecd57b;
/* rgb */ color: rgb(236, 213, 123);
/* oklch */ color: oklch(87.3% 0.113 95.4);
Tailwind
colors: {
  custom: {
    50: '#f4e1a3',
    500: '#ecd57b',
    950: '#000000',
  },
}
SCSS
$custom: #ecd57b;
$custom-light: #f4e1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd57b",
  "rgb": {
    "r": 236,
    "g": 213,
    "b": 123
  },
  "hsl": {
    "h": 47.788,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.87318,
    "c": 0.11344,
    "h": 95.4
  },
  "luminance": 0.66851
}

Semantic roles & 50–950 ramp

primary
#ECD57B
secondary
#4660C5
accent
#37D70F
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD57B

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

Preview Lab → · Contrast checker → · Palette generator →

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