#ECD17B#ECD17B

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

Color values

HEX#ECD17B
RGBrgb(236, 209, 123)
HSLhsl(46, 75%, 70%)
HSVhsv(46, 48%, 93%)
CMYKcmyk(0%, 11.4%, 47.9%, 7.5%)
CIE-LABlab(84.41, -1.61, 45.88)
CIE-LCHlch(84.41, 45.91, 92.01°)
OKLaboklab(86.52% -0.0048 0.1101)
OKLCHoklch(86.52% 0.11 92.5)
XYZxyz(60.9697, 64.8664, 28.0440)
Luminance0.6486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD17B #7B96EC
analogous
#EC997B #ECD17B #CEEC7B
triadic
#ECD17B #7BECD1 #D17BEC
tetradic
#ECD17B #7BEC99 #7B96EC #EC7BCE
square
#ECD17B #7BEC99 #7B96EC #EC7BCE
split-complementary
#ECD17B #7BCEEC #997BEC
monochromatic
#CFA51E #E4BE46 #ECD17B #F4E4B0 #FBF6E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD17B#FFFFFF#000000##000000
##ECD17B1.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)
#E2CE74
Deuteranopia (green-blind)
#E9D67E
Tritanopia (blue-blind)
#FBC5BC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ecd17b;
/* rgb */ color: rgb(236, 209, 123);
/* oklch */ color: oklch(86.5% 0.110 92.5);
Tailwind
colors: {
  custom: {
    50: '#f4dea3',
    500: '#ecd17b',
    950: '#000000',
  },
}
SCSS
$custom: #ecd17b;
$custom-light: #f4dea3;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd17b",
  "rgb": {
    "r": 236,
    "g": 209,
    "b": 123
  },
  "hsl": {
    "h": 45.664,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.86516,
    "c": 0.11024,
    "h": 92.5
  },
  "luminance": 0.64864
}

Semantic roles & 50–950 ramp

primary
#ECD17B
secondary
#4664C5
accent
#3ED70F
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD17B

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

Preview Lab → · Contrast checker → · Palette generator →

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