#ECDD7A#ECDD7A

#ECDD7A is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 88.9% C 0.122 H 100.8°. Best body text is #000000 at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#ECDD7A
RGBrgb(236, 221, 122)
HSLhsl(52, 75%, 70%)
HSVhsv(52, 48%, 93%)
CMYKcmyk(0%, 6.4%, 48.3%, 7.5%)
CIE-LABlab(87.46, -7.80, 50.10)
CIE-LCHlch(87.46, 50.70, 98.85°)
OKLaboklab(88.92% -0.0228 0.1194)
OKLCHoklch(88.92% 0.122 100.8)
XYZxyz(63.9632, 70.9531, 28.7346)
Luminance0.7095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDD7A #7A89EC
analogous
#ECA47A #ECDD7A #C2EC7A
triadic
#ECDD7A #7AECDD #DD7AEC
tetradic
#ECDD7A #7AECA4 #7A89EC #EC7AC2
square
#ECDD7A #7AECA4 #7A89EC #EC7AC2
split-complementary
#ECDD7A #7AC2EC #A47AEC
monochromatic
#CEB71D #E4CF44 #ECDD7A #F4EBB0 #FBF8E4

Accessibility & contrast

On white

1.38
#ECDD7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.19
#ECDD7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDD7A
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDD7A#FFFFFF#000000##000000
##ECDD7A1.001.3815.1915.19
#FFFFFF1.381.0021.0021.00
#00000015.1921.001.001.00
##00000015.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD871
Deuteranopia (green-blind)
#F2DE7E
Tritanopia (blue-blind)
#FBD1C6
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ecdd7a;
/* rgb */ color: rgb(236, 221, 122);
/* oklch */ color: oklch(88.9% 0.122 100.8);
Tailwind
colors: {
  custom: {
    50: '#f4e7a2',
    500: '#ecdd7a',
    950: '#000000',
  },
}
SCSS
$custom: #ecdd7a;
$custom-light: #f4e7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdd7a",
  "rgb": {
    "r": 236,
    "g": 221,
    "b": 122
  },
  "hsl": {
    "h": 52.105,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.88923,
    "c": 0.12158,
    "h": 100.8
  },
  "luminance": 0.70951
}

Semantic roles & 50–950 ramp

primary
#ECDD7A
secondary
#4556C5
accent
#29D70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #ECDD7A

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

Preview Lab → · Contrast checker → · Palette generator →

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