#ECD17E#ECD17E

#ECD17E is a very light, moderate yellow. Relative luminance 0.649; OKLCH L 86.6% C 0.107 H 92.0°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#ECD17E
RGBrgb(236, 209, 126)
HSLhsl(45, 74%, 71%)
HSVhsv(45, 47%, 93%)
CMYKcmyk(0%, 11.4%, 46.6%, 7.5%)
CIE-LABlab(84.45, -1.33, 44.45)
CIE-LCHlch(84.45, 44.47, 91.71°)
OKLaboklab(86.56% -0.0037 0.1071)
OKLCHoklch(86.56% 0.107 92)
XYZxyz(61.1603, 64.9427, 29.0482)
Luminance0.6494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD17E #7E99EC
analogous
#EC9A7E #ECD17E #D0EC7E
triadic
#ECD17E #7EECD1 #D17EEC
tetradic
#ECD17E #7EEC9A #7E99EC #EC7ED0
square
#ECD17E #7EEC9A #7E99EC #EC7ED0
split-complementary
#ECD17E #7ED0EC #9A7EEC
monochromatic
#D1A51F #E4BE49 #ECD17E #F4E4B3 #FBF5E4

Accessibility & contrast

On white

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

On black

13.99
#ECD17E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD17E
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD17E#FFFFFF#000000##000000
##ECD17E1.001.5013.9913.99
#FFFFFF1.501.0021.0021.00
#00000013.9921.001.001.00
##00000013.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CE77
Deuteranopia (green-blind)
#E8D681
Tritanopia (blue-blind)
#FBC5BD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ecd17e;
/* rgb */ color: rgb(236, 209, 126);
/* oklch */ color: oklch(86.6% 0.107 92.0);
Tailwind
colors: {
  custom: {
    50: '#f4dea5',
    500: '#ecd17e',
    950: '#000000',
  },
}
SCSS
$custom: #ecd17e;
$custom-light: #f4dea5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd17e",
  "rgb": {
    "r": 236,
    "g": 209,
    "b": 126
  },
  "hsl": {
    "h": 45.273,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.8656,
    "c": 0.1072,
    "h": 92
  },
  "luminance": 0.6494
}

Semantic roles & 50–950 ramp

primary
#ECD17E
secondary
#4967C5
accent
#40D60F
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD17E

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

Preview Lab → · Contrast checker → · Palette generator →

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