#ECDD6B#ECDD6B

#ECDD6B is a very light, vivid yellow. Relative luminance 0.706; OKLCH L 88.7% C 0.136 H 101.9°. Best body text is #000000 at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#ECDD6B
RGBrgb(236, 221, 107)
HSLhsl(53, 77%, 67%)
HSVhsv(53, 55%, 93%)
CMYKcmyk(0%, 6.4%, 54.7%, 7.5%)
CIE-LABlab(87.30, -9.05, 56.93)
CIE-LCHlch(87.30, 57.64, 99.03°)
OKLaboklab(88.74% -0.028 0.133)
OKLCHoklch(88.74% 0.136 101.9)
XYZxyz(63.1044, 70.6096, 24.2120)
Luminance0.7061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDD6B #6B7AEC
analogous
#EC9C6B #ECDD6B #BBEC6B
triadic
#ECDD6B #6BECDD #DD6BEC
tetradic
#ECDD6B #6BEC9C #6B7AEC #EC6BBB
square
#ECDD6B #6BEC9C #6B7AEC #EC6BBB
split-complementary
#ECDD6B #6BBBEC #9C6BEC
monochromatic
#C4B019 #E5D135 #ECDD6B #F3E9A1 #FAF6D7

Accessibility & contrast

On white

1.39
#ECDD6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.12
#ECDD6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDD6B
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDD6B#FFFFFF#000000##000000
##ECDD6B1.001.3915.1215.12
#FFFFFF1.391.0021.0021.00
#00000015.1221.001.001.00
##00000015.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED760
Deuteranopia (green-blind)
#F3DE71
Tritanopia (blue-blind)
#FCD0C3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ecdd6b;
/* rgb */ color: rgb(236, 221, 107);
/* oklch */ color: oklch(88.7% 0.136 101.9);
Tailwind
colors: {
  custom: {
    50: '#f5e799',
    500: '#ecdd6b',
    950: '#000000',
  },
}
SCSS
$custom: #ecdd6b;
$custom-light: #f5e799;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdd6b",
  "rgb": {
    "r": 236,
    "g": 221,
    "b": 107
  },
  "hsl": {
    "h": 53.023,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.88736,
    "c": 0.13586,
    "h": 101.9
  },
  "luminance": 0.70607
}

Semantic roles & 50–950 ramp

primary
#ECDD6B
secondary
#3A49C2
accent
#24D90C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #ECDD6B

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

Preview Lab → · Contrast checker → · Palette generator →

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