#ECDB7A#ECDB7A

#ECDB7A is a very light, moderate yellow. Relative luminance 0.699; OKLCH L 88.5% C 0.120 H 99.6°. Best body text is #000000 at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#ECDB7A
RGBrgb(236, 219, 122)
HSLhsl(51, 75%, 70%)
HSVhsv(51, 48%, 93%)
CMYKcmyk(0%, 7.2%, 48.3%, 7.5%)
CIE-LABlab(86.95, -6.79, 49.47)
CIE-LCHlch(86.95, 49.94, 97.81°)
OKLaboklab(88.52% -0.0199 0.1181)
OKLCHoklch(88.52% 0.12 99.6)
XYZxyz(63.4383, 69.9033, 28.5596)
Luminance0.6990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDB7A #7A8BEC
analogous
#ECA27A #ECDB7A #C4EC7A
triadic
#ECDB7A #7AECDB #DB7AEC
tetradic
#ECDB7A #7AECA2 #7A8BEC #EC7AC4
square
#ECDB7A #7AECA2 #7A8BEC #EC7AC4
split-complementary
#ECDB7A #7AC4EC #A27AEC
monochromatic
#CEB41D #E4CD44 #ECDB7A #F4E9B0 #FBF8E4

Accessibility & contrast

On white

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

On black

14.98
#ECDB7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDB7A
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDB7A#FFFFFF#000000##000000
##ECDB7A1.001.4014.9814.98
#FFFFFF1.401.0021.0021.00
#00000014.9821.001.001.00
##00000014.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD672
Deuteranopia (green-blind)
#F0DD7E
Tritanopia (blue-blind)
#FBCFC4
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #ecdb7a;
/* rgb */ color: rgb(236, 219, 122);
/* oklch */ color: oklch(88.5% 0.120 99.6);
Tailwind
colors: {
  custom: {
    50: '#f4e6a2',
    500: '#ecdb7a',
    950: '#000000',
  },
}
SCSS
$custom: #ecdb7a;
$custom-light: #f4e6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdb7a",
  "rgb": {
    "r": 236,
    "g": 219,
    "b": 122
  },
  "hsl": {
    "h": 51.053,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.88516,
    "c": 0.11972,
    "h": 99.6
  },
  "luminance": 0.69901
}

Semantic roles & 50–950 ramp

primary
#ECDB7A
secondary
#4558C5
accent
#2CD70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECDB7A

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

Preview Lab → · Contrast checker → · Palette generator →

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