#ECDB82#ECDB82

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

Color values

HEX#ECDB82
RGBrgb(236, 219, 130)
HSLhsl(50, 74%, 72%)
HSVhsv(50, 45%, 93%)
CMYKcmyk(0%, 7.2%, 44.9%, 7.5%)
CIE-LABlab(87.05, -6.04, 45.71)
CIE-LCHlch(87.05, 46.11, 97.53°)
OKLaboklab(88.63% -0.017 0.1102)
OKLCHoklch(88.63% 0.112 98.8)
XYZxyz(63.9545, 70.1098, 31.2784)
Luminance0.7011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDB82 #8293EC
analogous
#ECA682 #ECDB82 #C8EC82
triadic
#ECDB82 #82ECDB #DB82EC
tetradic
#ECDB82 #82ECA6 #8293EC #EC82C8
square
#ECDB82 #82ECA6 #8293EC #EC82C8
split-complementary
#ECDB82 #82C8EC #A682EC
monochromatic
#D3B720 #E4CC4D #ECDB82 #F4EAB7 #FBF7E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECDB82#FFFFFF#000000##000000
##ECDB821.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)
#EBD67B
Deuteranopia (green-blind)
#EFDD86
Tritanopia (blue-blind)
#FACFC6
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #ecdb82;
/* rgb */ color: rgb(236, 219, 130);
/* oklch */ color: oklch(88.6% 0.112 98.8);
Tailwind
colors: {
  custom: {
    50: '#f4e6a8',
    500: '#ecdb82',
    950: '#000000',
  },
}
SCSS
$custom: #ecdb82;
$custom-light: #f4e6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdb82",
  "rgb": {
    "r": 236,
    "g": 219,
    "b": 130
  },
  "hsl": {
    "h": 50.377,
    "s": 73.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.88629,
    "c": 0.11152,
    "h": 98.8
  },
  "luminance": 0.70108
}

Semantic roles & 50–950 ramp

primary
#ECDB82
secondary
#4C60C6
accent
#30D610
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#171510
muted
#858480

Preview Lab

Preview with #ECDB82

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

Preview Lab → · Contrast checker → · Palette generator →

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