#ECDA5D#ECDA5D

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

Color values

HEX#ECDA5D
RGBrgb(236, 218, 93)
HSLhsl(52, 79%, 65%)
HSVhsv(52, 61%, 93%)
CMYKcmyk(0%, 7.6%, 60.6%, 7.5%)
CIE-LABlab(86.39, -8.54, 62.13)
CIE-LCHlch(86.39, 62.71, 97.83°)
OKLaboklab(87.97% -0.0281 0.1424)
OKLCHoklch(87.97% 0.145 101.1)
XYZxyz(61.6416, 68.7685, 20.3805)
Luminance0.6877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDA5D #5D6FEC
analogous
#EC935D #ECDA5D #B6EC5D
triadic
#ECDA5D #5DECDA #DA5DEC
tetradic
#ECDA5D #5DEC93 #5D6FEC #EC5DB6
square
#ECDA5D #5DEC93 #5D6FEC #EC5DB6
split-complementary
#ECDA5D #5DB6EC #935DEC
monochromatic
#B9A416 #E6CD26 #ECDA5D #F2E794 #F9F3CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECDA5D#FFFFFF#000000##000000
##ECDA5D1.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)
#EDD44F
Deuteranopia (green-blind)
#F2DB64
Tritanopia (blue-blind)
#FDCCBF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ecda5d;
/* rgb */ color: rgb(236, 218, 93);
/* oklch */ color: oklch(88.0% 0.145 101.1);
Tailwind
colors: {
  custom: {
    50: '#f5e590',
    500: '#ecda5d',
    950: '#000000',
  },
}
SCSS
$custom: #ecda5d;
$custom-light: #f5e590;
$custom-dark: #000000;
JSON
{
  "hex": "#ecda5d",
  "rgb": {
    "r": 236,
    "g": 218,
    "b": 93
  },
  "hsl": {
    "h": 52.448,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.87974,
    "c": 0.14516,
    "h": 101.1
  },
  "luminance": 0.68766
}

Semantic roles & 50–950 ramp

primary
#ECDA5D
secondary
#3546B8
accent
#25DB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECDA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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