#ECD05C#ECD05C

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

Color values

HEX#ECD05C
RGBrgb(236, 208, 92)
HSLhsl(48, 79%, 64%)
HSVhsv(48, 61%, 93%)
CMYKcmyk(0%, 11.9%, 61%, 7.5%)
CIE-LABlab(83.82, -3.54, 59.74)
CIE-LCHlch(83.82, 59.84, 93.39°)
OKLaboklab(85.94% -0.0138 0.1372)
OKLCHoklch(85.94% 0.138 95.8)
XYZxyz(59.0823, 63.7202, 19.3103)
Luminance0.6372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD05C #5C78EC
analogous
#EC885C #ECD05C #C0EC5C
triadic
#ECD05C #5CECD0 #D05CEC
tetradic
#ECD05C #5CEC88 #5C78EC #EC5CC0
square
#ECD05C #5CEC88 #5C78EC #EC5CC0
split-complementary
#ECD05C #5CC0EC #885CEC
monochromatic
#B89915 #E6C025 #ECD05C #F2E093 #F9F0CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD05C#FFFFFF#000000##000000
##ECD05C1.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)
#E3CC4F
Deuteranopia (green-blind)
#EAD562
Tritanopia (blue-blind)
#FDC2B7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ecd05c;
/* rgb */ color: rgb(236, 208, 92);
/* oklch */ color: oklch(85.9% 0.138 95.8);
Tailwind
colors: {
  custom: {
    50: '#f5de8e',
    500: '#ecd05c',
    950: '#000000',
  },
}
SCSS
$custom: #ecd05c;
$custom-light: #f5de8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd05c",
  "rgb": {
    "r": 236,
    "g": 208,
    "b": 92
  },
  "hsl": {
    "h": 48.333,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.85936,
    "c": 0.13789,
    "h": 95.8
  },
  "luminance": 0.63717
}

Semantic roles & 50–950 ramp

primary
#ECD05C
secondary
#354EB8
accent
#33DB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #ECD05C

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

Preview Lab → · Contrast checker → · Palette generator →

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