#ECD052#ECD052

#ECD052 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.8% C 0.146 H 96.6°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#ECD052
RGBrgb(236, 208, 82)
HSLhsl(49, 80%, 62%)
HSVhsv(49, 65%, 93%)
CMYKcmyk(0%, 11.9%, 65.3%, 7.5%)
CIE-LABlab(83.73, -4.16, 63.93)
CIE-LCHlch(83.73, 64.06, 93.72°)
OKLaboklab(85.84% -0.0168 0.1447)
OKLCHoklch(85.84% 0.146 96.6)
XYZxyz(58.6736, 63.5567, 17.1582)
Luminance0.6355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD052 #526EEC
analogous
#EC8352 #ECD052 #BBEC52
triadic
#ECD052 #52ECD0 #D052EC
tetradic
#ECD052 #52EC83 #526EEC #EC52BB
square
#ECD052 #52EC83 #526EEC #EC52BB
split-complementary
#ECD052 #52BBEC #8352EC
monochromatic
#B09413 #E6C11B #ECD052 #F2DF89 #F8EEC0

Accessibility & contrast

On white

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

On black

13.71
#ECD052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD052
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD052#FFFFFF#000000##000000
##ECD0521.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB42
Deuteranopia (green-blind)
#EBD559
Tritanopia (blue-blind)
#FEC1B6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ecd052;
/* rgb */ color: rgb(236, 208, 82);
/* oklch */ color: oklch(85.8% 0.146 96.6);
Tailwind
colors: {
  custom: {
    50: '#f6de88',
    500: '#ecd052',
    950: '#000000',
  },
}
SCSS
$custom: #ecd052;
$custom-light: #f6de88;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd052",
  "rgb": {
    "r": 236,
    "g": 208,
    "b": 82
  },
  "hsl": {
    "h": 49.091,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.85841,
    "c": 0.14564,
    "h": 96.6
  },
  "luminance": 0.63554
}

Semantic roles & 50–950 ramp

primary
#ECD052
secondary
#3249B1
accent
#2FDD09
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD052

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

Preview Lab → · Contrast checker → · Palette generator →

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