#ECD05B#ECD05B

#ECD05B is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.9% C 0.139 H 95.9°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#ECD05B
RGBrgb(236, 208, 91)
HSLhsl(48, 79%, 64%)
HSVhsv(48, 61%, 93%)
CMYKcmyk(0%, 11.9%, 61.4%, 7.5%)
CIE-LABlab(83.81, -3.60, 60.17)
CIE-LCHlch(83.81, 60.27, 93.43°)
OKLaboklab(85.93% -0.0142 0.138)
OKLCHoklch(85.93% 0.139 95.9)
XYZxyz(59.0388, 63.7028, 19.0816)
Luminance0.6370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD05B #5B77EC
analogous
#EC885B #ECD05B #C0EC5B
triadic
#ECD05B #5BECD0 #D05BEC
tetradic
#ECD05B #5BEC88 #5B77EC #EC5BC0
square
#ECD05B #5BEC88 #5B77EC #EC5BC0
split-complementary
#ECD05B #5BC0EC #885BEC
monochromatic
#B79815 #E6C024 #ECD05B #F2E092 #F9EFC9

Accessibility & contrast

On white

1.53
#ECD05B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.74
#ECD05B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD05B
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD05B#FFFFFF#000000##000000
##ECD05B1.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC4E
Deuteranopia (green-blind)
#EBD561
Tritanopia (blue-blind)
#FDC2B7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ecd05b;
/* rgb */ color: rgb(236, 208, 91);
/* oklch */ color: oklch(85.9% 0.139 95.9);
Tailwind
colors: {
  custom: {
    50: '#f5de8e',
    500: '#ecd05b',
    950: '#000000',
  },
}
SCSS
$custom: #ecd05b;
$custom-light: #f5de8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd05b",
  "rgb": {
    "r": 236,
    "g": 208,
    "b": 91
  },
  "hsl": {
    "h": 48.414,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.85925,
    "c": 0.1387,
    "h": 95.9
  },
  "luminance": 0.637
}

Semantic roles & 50–950 ramp

primary
#ECD05B
secondary
#344EB7
accent
#32DC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #ECD05B

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

Preview Lab → · Contrast checker → · Palette generator →

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