#ECDB81#ECDB81

#ECDB81 is a very light, moderate yellow. Relative luminance 0.701; OKLCH L 88.6% C 0.113 H 98.9°. Best body text is #000000 at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#ECDB81
RGBrgb(236, 219, 129)
HSLhsl(50, 74%, 72%)
HSVhsv(50, 45%, 93%)
CMYKcmyk(0%, 7.2%, 45.3%, 7.5%)
CIE-LABlab(87.04, -6.14, 46.18)
CIE-LCHlch(87.04, 46.59, 97.57°)
OKLaboklab(88.62% -0.0173 0.1112)
OKLCHoklch(88.62% 0.113 98.9)
XYZxyz(63.8877, 70.0831, 30.9267)
Luminance0.7008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDB81 #8192EC
analogous
#ECA681 #ECDB81 #C8EC81
triadic
#ECDB81 #81ECDB #DB81EC
tetradic
#ECDB81 #81ECA6 #8192EC #EC81C8
square
#ECDB81 #81ECA6 #8192EC #EC81C8
split-complementary
#ECDB81 #81C8EC #A681EC
monochromatic
#D3B620 #E4CC4C #ECDB81 #F4EAB6 #FBF7E4

Accessibility & contrast

On white

1.40
#ECDB81 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.02
#ECDB81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDB81
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDB81#FFFFFF#000000##000000
##ECDB811.001.4015.0215.02
#FFFFFF1.401.0021.0021.00
#00000015.0221.001.001.00
##00000015.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD67A
Deuteranopia (green-blind)
#F0DD85
Tritanopia (blue-blind)
#FACFC5
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #ecdb81;
/* rgb */ color: rgb(236, 219, 129);
/* oklch */ color: oklch(88.6% 0.113 98.9);
Tailwind
colors: {
  custom: {
    50: '#f4e6a7',
    500: '#ecdb81',
    950: '#000000',
  },
}
SCSS
$custom: #ecdb81;
$custom-light: #f4e6a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdb81",
  "rgb": {
    "r": 236,
    "g": 219,
    "b": 129
  },
  "hsl": {
    "h": 50.467,
    "s": 73.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.88615,
    "c": 0.11256,
    "h": 98.9
  },
  "luminance": 0.70081
}

Semantic roles & 50–950 ramp

primary
#ECDB81
secondary
#4B5FC6
accent
#2FD610
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #ECDB81

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

Preview Lab → · Contrast checker → · Palette generator →

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