#ECDB6A#ECDB6A

#ECDB6A is a very light, vivid yellow. Relative luminance 0.695; OKLCH L 88.3% C 0.135 H 100.9°. Best body text is #000000 at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#ECDB6A
RGBrgb(236, 219, 106)
HSLhsl(52, 77%, 67%)
HSVhsv(52, 55%, 93%)
CMYKcmyk(0%, 7.2%, 55.1%, 7.5%)
CIE-LABlab(86.77, -8.12, 56.78)
CIE-LCHlch(86.77, 57.36, 98.14°)
OKLaboklab(88.32% -0.0254 0.1325)
OKLCHoklch(88.32% 0.135 100.9)
XYZxyz(62.5272, 69.5389, 23.7616)
Luminance0.6954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDB6A #6A7BEC
analogous
#EC9A6A #ECDB6A #BCEC6A
triadic
#ECDB6A #6AECDB #DB6AEC
tetradic
#ECDB6A #6AEC9A #6A7BEC #EC6ABC
square
#ECDB6A #6AEC9A #6A7BEC #EC6ABC
split-complementary
#ECDB6A #6ABCEC #9A6AEC
monochromatic
#C3AD19 #E5CE34 #ECDB6A #F3E8A0 #FAF5D7

Accessibility & contrast

On white

1.41
#ECDB6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.91
#ECDB6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDB6A
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDB6A#FFFFFF#000000##000000
##ECDB6A1.001.4114.9114.91
#FFFFFF1.411.0021.0021.00
#00000014.9121.001.001.00
##00000014.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD55F
Deuteranopia (green-blind)
#F2DC6F
Tritanopia (blue-blind)
#FCCEC2
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ecdb6a;
/* rgb */ color: rgb(236, 219, 106);
/* oklch */ color: oklch(88.3% 0.135 100.9);
Tailwind
colors: {
  custom: {
    50: '#f5e598',
    500: '#ecdb6a',
    950: '#000000',
  },
}
SCSS
$custom: #ecdb6a;
$custom-light: #f5e598;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdb6a",
  "rgb": {
    "r": 236,
    "g": 219,
    "b": 106
  },
  "hsl": {
    "h": 52.154,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.88316,
    "c": 0.13495,
    "h": 100.9
  },
  "luminance": 0.69537
}

Semantic roles & 50–950 ramp

primary
#ECDB6A
secondary
#394BC1
accent
#27DA0C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECDB6A

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

Preview Lab → · Contrast checker → · Palette generator →

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