#ECDB8A#ECDB8A

#ECDB8A is a very light, moderate yellow. Relative luminance 0.703; OKLCH L 88.8% C 0.103 H 97.8°. Best body text is #000000 at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#ECDB8A
RGBrgb(236, 219, 138)
HSLhsl(50, 72%, 73%)
HSVhsv(50, 42%, 93%)
CMYKcmyk(0%, 7.2%, 41.5%, 7.5%)
CIE-LABlab(87.16, -5.24, 41.89)
CIE-LCHlch(87.16, 42.21, 97.13°)
OKLaboklab(88.75% -0.014 0.1021)
OKLCHoklch(88.75% 0.103 97.8)
XYZxyz(64.5125, 70.3330, 34.2172)
Luminance0.7033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDB8A #8A9BEC
analogous
#ECAA8A #ECDB8A #CCEC8A
triadic
#ECDB8A #8AECDB #DB8AEC
tetradic
#ECDB8A #8AECAA #8A9BEC #EC8ACC
square
#ECDB8A #8AECAA #8A9BEC #EC8ACC
split-complementary
#ECDB8A #8ACCEC #AA8AEC
monochromatic
#D8B923 #E3CB55 #ECDB8A #F5EBBF #FBF7E5

Accessibility & contrast

On white

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

On black

15.07
#ECDB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDB8A
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDB8A#FFFFFF#000000##000000
##ECDB8A1.001.3915.0715.07
#FFFFFF1.391.0021.0021.00
#00000015.0721.001.001.00
##00000015.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD784
Deuteranopia (green-blind)
#EFDD8D
Tritanopia (blue-blind)
#FAD0C7
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #ecdb8a;
/* rgb */ color: rgb(236, 219, 138);
/* oklch */ color: oklch(88.8% 0.103 97.8);
Tailwind
colors: {
  custom: {
    50: '#f3e6ad',
    500: '#ecdb8a',
    950: '#000000',
  },
}
SCSS
$custom: #ecdb8a;
$custom-light: #f3e6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdb8a",
  "rgb": {
    "r": 236,
    "g": 219,
    "b": 138
  },
  "hsl": {
    "h": 49.592,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.88751,
    "c": 0.103,
    "h": 97.8
  },
  "luminance": 0.70331
}

Semantic roles & 50–950 ramp

primary
#ECDB8A
secondary
#5468C7
accent
#33D411
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECDB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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