#ECDA5C#ECDA5C

#ECDA5C is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 88.0% C 0.146 H 101.2°. Best body text is #000000 at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#ECDA5C
RGBrgb(236, 218, 92)
HSLhsl(53, 79%, 64%)
HSVhsv(53, 61%, 93%)
CMYKcmyk(0%, 7.6%, 61%, 7.5%)
CIE-LABlab(86.38, -8.60, 62.55)
CIE-LCHlch(86.38, 63.14, 97.83°)
OKLaboklab(87.97% -0.0284 0.1432)
OKLCHoklch(87.97% 0.146 101.2)
XYZxyz(61.5976, 68.7509, 20.1487)
Luminance0.6875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDA5C #5C6EEC
analogous
#EC925C #ECDA5C #B6EC5C
triadic
#ECDA5C #5CECDA #DA5CEC
tetradic
#ECDA5C #5CEC92 #5C6EEC #EC5CB6
square
#ECDA5C #5CEC92 #5C6EEC #EC5CB6
split-complementary
#ECDA5C #5CB6EC #925CEC
monochromatic
#B8A415 #E6CE25 #ECDA5C #F2E693 #F9F3CA

Accessibility & contrast

On white

1.42
#ECDA5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.75
#ECDA5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDA5C
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDA5C#FFFFFF#000000##000000
##ECDA5C1.001.4214.7514.75
#FFFFFF1.421.0021.0021.00
#00000014.7521.001.001.00
##00000014.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD44E
Deuteranopia (green-blind)
#F2DB63
Tritanopia (blue-blind)
#FDCCBF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ecda5c;
/* rgb */ color: rgb(236, 218, 92);
/* oklch */ color: oklch(88.0% 0.146 101.2);
Tailwind
colors: {
  custom: {
    50: '#f5e58f',
    500: '#ecda5c',
    950: '#000000',
  },
}
SCSS
$custom: #ecda5c;
$custom-light: #f5e58f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecda5c",
  "rgb": {
    "r": 236,
    "g": 218,
    "b": 92
  },
  "hsl": {
    "h": 52.5,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.87965,
    "c": 0.14596,
    "h": 101.2
  },
  "luminance": 0.68748
}

Semantic roles & 50–950 ramp

primary
#ECDA5C
secondary
#3545B8
accent
#24DB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #ECDA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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