#ECD88E#ECD88E

#ECD88E is a very light, moderate yellow. Relative luminance 0.689; OKLCH L 88.2% C 0.096 H 94.8°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#ECD88E
RGBrgb(236, 216, 142)
HSLhsl(47, 71%, 74%)
HSVhsv(47, 40%, 93%)
CMYKcmyk(0%, 8.5%, 39.8%, 7.5%)
CIE-LABlab(86.45, -3.30, 38.98)
CIE-LCHlch(86.45, 39.12, 94.83°)
OKLaboklab(88.21% -0.008 0.0956)
OKLCHoklch(88.21% 0.096 94.8)
XYZxyz(64.0318, 68.8998, 35.5120)
Luminance0.6890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD88E #8EA2EC
analogous
#ECA98E #ECD88E #D1EC8E
triadic
#ECD88E #8EECD8 #D88EEC
tetradic
#ECD88E #8EECA9 #8EA2EC #EC8ED1
square
#ECD88E #8EECA9 #8EA2EC #EC8ED1
split-complementary
#ECD88E #8ED1EC #A98EEC
monochromatic
#DAB425 #E3C65A #ECD88E #F5EAC2 #FBF6E5

Accessibility & contrast

On white

1.42
#ECD88E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.78
#ECD88E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD88E
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD88E#FFFFFF#000000##000000
##ECD88E1.001.4214.7814.78
#FFFFFF1.421.0021.0021.00
#00000014.7821.001.001.00
##00000014.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D589
Deuteranopia (green-blind)
#ECDB91
Tritanopia (blue-blind)
#FACDC5
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ecd88e;
/* rgb */ color: rgb(236, 216, 142);
/* oklch */ color: oklch(88.2% 0.096 94.8);
Tailwind
colors: {
  custom: {
    50: '#f3e3b0',
    500: '#ecd88e',
    950: '#000000',
  },
}
SCSS
$custom: #ecd88e;
$custom-light: #f3e3b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd88e",
  "rgb": {
    "r": 236,
    "g": 216,
    "b": 142
  },
  "hsl": {
    "h": 47.234,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.88213,
    "c": 0.09593,
    "h": 94.8
  },
  "luminance": 0.68898
}

Semantic roles & 50–950 ramp

primary
#ECD88E
secondary
#576FC7
accent
#3BD312
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECD88E

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

Preview Lab → · Contrast checker → · Palette generator →

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