#ECDB7E#ECDB7E

#ECDB7E is a very light, moderate yellow. Relative luminance 0.700; OKLCH L 88.6% C 0.116 H 99.2°. Best body text is #000000 at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#ECDB7E
RGBrgb(236, 219, 126)
HSLhsl(51, 74%, 71%)
HSVhsv(51, 47%, 93%)
CMYKcmyk(0%, 7.2%, 46.6%, 7.5%)
CIE-LABlab(87.00, -6.42, 47.60)
CIE-LCHlch(87.00, 48.03, 97.68°)
OKLaboklab(88.57% -0.0184 0.1142)
OKLCHoklch(88.57% 0.116 99.2)
XYZxyz(63.6912, 70.0045, 29.8918)
Luminance0.7000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDB7E #7E8FEC
analogous
#ECA47E #ECDB7E #C6EC7E
triadic
#ECDB7E #7EECDB #DB7EEC
tetradic
#ECDB7E #7EECA4 #7E8FEC #EC7EC6
square
#ECDB7E #7EECA4 #7E8FEC #EC7EC6
split-complementary
#ECDB7E #7EC6EC #A47EEC
monochromatic
#D1B51F #E4CC49 #ECDB7E #F4EAB3 #FBF8E4

Accessibility & contrast

On white

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

On black

15.00
#ECDB7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDB7E
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDB7E#FFFFFF#000000##000000
##ECDB7E1.001.4015.0015.00
#FFFFFF1.401.0021.0021.00
#00000015.0021.001.001.00
##00000015.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD676
Deuteranopia (green-blind)
#F0DD82
Tritanopia (blue-blind)
#FBCFC5
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #ecdb7e;
/* rgb */ color: rgb(236, 219, 126);
/* oklch */ color: oklch(88.6% 0.116 99.2);
Tailwind
colors: {
  custom: {
    50: '#f4e6a5',
    500: '#ecdb7e',
    950: '#000000',
  },
}
SCSS
$custom: #ecdb7e;
$custom-light: #f4e6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdb7e",
  "rgb": {
    "r": 236,
    "g": 219,
    "b": 126
  },
  "hsl": {
    "h": 50.727,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.88572,
    "c": 0.11566,
    "h": 99.2
  },
  "luminance": 0.70002
}

Semantic roles & 50–950 ramp

primary
#ECDB7E
secondary
#495CC5
accent
#2ED60F
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #ECDB7E

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

Preview Lab → · Contrast checker → · Palette generator →

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