#ECD05D#ECD05D

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

Color values

HEX#ECD05D
RGBrgb(236, 208, 93)
HSLhsl(48, 79%, 65%)
HSVhsv(48, 61%, 93%)
CMYKcmyk(0%, 11.9%, 60.6%, 7.5%)
CIE-LABlab(83.83, -3.47, 59.30)
CIE-LCHlch(83.83, 59.41, 93.35°)
OKLaboklab(85.95% -0.0135 0.1364)
OKLCHoklch(85.95% 0.137 95.7)
XYZxyz(59.1263, 63.7378, 19.5420)
Luminance0.6373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD05D #5D79EC
analogous
#EC895D #ECD05D #C0EC5D
triadic
#ECD05D #5DECD0 #D05DEC
tetradic
#ECD05D #5DEC89 #5D79EC #EC5DC0
square
#ECD05D #5DEC89 #5D79EC #EC5DC0
split-complementary
#ECD05D #5DC0EC #895DEC
monochromatic
#B99916 #E6C026 #ECD05D #F2E094 #F9F0CB

Accessibility & contrast

On white

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

On black

13.75
#ECD05D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD05D
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD05D#FFFFFF#000000##000000
##ECD05D1.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecd05d;
/* rgb */ color: rgb(236, 208, 93);
/* oklch */ color: oklch(85.9% 0.137 95.7);
Tailwind
colors: {
  custom: {
    50: '#f5de8f',
    500: '#ecd05d',
    950: '#000000',
  },
}
SCSS
$custom: #ecd05d;
$custom-light: #f5de8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd05d",
  "rgb": {
    "r": 236,
    "g": 208,
    "b": 93
  },
  "hsl": {
    "h": 48.252,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.85946,
    "c": 0.13707,
    "h": 95.7
  },
  "luminance": 0.63735
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECD05D

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

Preview Lab → · Contrast checker → · Palette generator →

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