#ECD17A#ECD17A

#ECD17A is a very light, moderate yellow. Relative luminance 0.648; OKLCH L 86.5% C 0.111 H 92.7°. Best body text is #000000 at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#ECD17A
RGBrgb(236, 209, 122)
HSLhsl(46, 75%, 70%)
HSVhsv(46, 48%, 93%)
CMYKcmyk(0%, 11.4%, 48.3%, 7.5%)
CIE-LABlab(84.40, -1.70, 46.36)
CIE-LCHlch(84.40, 46.39, 92.10°)
OKLaboklab(86.5% -0.0052 0.1111)
OKLCHoklch(86.5% 0.111 92.7)
XYZxyz(60.9074, 64.8415, 27.7160)
Luminance0.6484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD17A #7A95EC
analogous
#EC987A #ECD17A #CEEC7A
triadic
#ECD17A #7AECD1 #D17AEC
tetradic
#ECD17A #7AEC98 #7A95EC #EC7ACE
square
#ECD17A #7AEC98 #7A95EC #EC7ACE
split-complementary
#ECD17A #7ACEEC #987AEC
monochromatic
#CEA41D #E4BE44 #ECD17A #F4E4B0 #FBF6E4

Accessibility & contrast

On white

1.50
#ECD17A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.97
#ECD17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD17A
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD17A#FFFFFF#000000##000000
##ECD17A1.001.5013.9713.97
#FFFFFF1.501.0021.0021.00
#00000013.9721.001.001.00
##00000013.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CE73
Deuteranopia (green-blind)
#E9D67D
Tritanopia (blue-blind)
#FCC5BC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ecd17a;
/* rgb */ color: rgb(236, 209, 122);
/* oklch */ color: oklch(86.5% 0.111 92.7);
Tailwind
colors: {
  custom: {
    50: '#f4dea2',
    500: '#ecd17a',
    950: '#000000',
  },
}
SCSS
$custom: #ecd17a;
$custom-light: #f4dea2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd17a",
  "rgb": {
    "r": 236,
    "g": 209,
    "b": 122
  },
  "hsl": {
    "h": 45.789,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.86502,
    "c": 0.11125,
    "h": 92.7
  },
  "luminance": 0.64839
}

Semantic roles & 50–950 ramp

primary
#ECD17A
secondary
#4563C5
accent
#3ED70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD17A

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

Preview Lab → · Contrast checker → · Palette generator →

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