#ECDA5F#ECDA5F

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

Color values

HEX#ECDA5F
RGBrgb(236, 218, 95)
HSLhsl(52, 79%, 65%)
HSVhsv(52, 60%, 93%)
CMYKcmyk(0%, 7.6%, 59.7%, 7.5%)
CIE-LABlab(86.41, -8.41, 61.28)
CIE-LCHlch(86.41, 61.85, 97.81°)
OKLaboklab(87.99% -0.0275 0.1409)
OKLCHoklch(87.99% 0.144 101)
XYZxyz(61.7314, 68.8044, 20.8531)
Luminance0.6880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDA5F #5F71EC
analogous
#EC935F #ECDA5F #B8EC5F
triadic
#ECDA5F #5FECDA #DA5FEC
tetradic
#ECDA5F #5FEC93 #5F71EC #EC5FB8
square
#ECDA5F #5FEC93 #5F71EC #EC5FB8
split-complementary
#ECDA5F #5FB8EC #935FEC
monochromatic
#BAA516 #E6CD28 #ECDA5F #F2E796 #F9F3CC

Accessibility & contrast

On white

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

On black

14.76
#ECDA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDA5F
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDA5F#FFFFFF#000000##000000
##ECDA5F1.001.4214.7614.76
#FFFFFF1.421.0021.0021.00
#00000014.7621.001.001.00
##00000014.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecda5f;
/* rgb */ color: rgb(236, 218, 95);
/* oklch */ color: oklch(88.0% 0.144 101.0);
Tailwind
colors: {
  custom: {
    50: '#f5e591',
    500: '#ecda5f',
    950: '#000000',
  },
}
SCSS
$custom: #ecda5f;
$custom-light: #f5e591;
$custom-dark: #000000;
JSON
{
  "hex": "#ecda5f",
  "rgb": {
    "r": 236,
    "g": 218,
    "b": 95
  },
  "hsl": {
    "h": 52.34,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.87994,
    "c": 0.14353,
    "h": 101
  },
  "luminance": 0.68802
}

Semantic roles & 50–950 ramp

primary
#ECDA5F
secondary
#3646BA
accent
#25DB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECDA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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