#ECD99E#ECD99E

#ECD99E is a very light, moderate yellow. Relative luminance 0.699; OKLCH L 88.7% C 0.079 H 92.3°. Best body text is #000000 at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#ECD99E
RGBrgb(236, 217, 158)
HSLhsl(45, 67%, 77%)
HSVhsv(45, 33%, 93%)
CMYKcmyk(0%, 8.1%, 33.1%, 7.5%)
CIE-LABlab(86.96, -1.99, 31.49)
CIE-LCHlch(86.96, 31.55, 93.61°)
OKLaboklab(88.7% -0.0032 0.0787)
OKLCHoklch(88.7% 0.079 92.3)
XYZxyz(65.5774, 69.9291, 42.3844)
Luminance0.6993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD99E #9EB1EC
analogous
#ECB29E #ECD99E #D8EC9E
triadic
#ECD99E #9EECD9 #D99EEC
tetradic
#ECD99E #9EECB2 #9EB1EC #EC9ED8
square
#ECD99E #9EECB2 #9EB1EC #EC9ED8
split-complementary
#ECD99E #9ED8EC #B29EEC
monochromatic
#D8B138 #E2C56B #ECD99E #F6EDD1 #FAF5E5

Accessibility & contrast

On white

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

On black

14.99
#ECD99E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD99E
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD99E#FFFFFF#000000##000000
##ECD99E1.001.4014.9914.99
#FFFFFF1.401.0021.0021.00
#00000014.9921.001.001.00
##00000014.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D69A
Deuteranopia (green-blind)
#EBDCA0
Tritanopia (blue-blind)
#F8D0CA
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #ecd99e;
/* rgb */ color: rgb(236, 217, 158);
/* oklch */ color: oklch(88.7% 0.079 92.3);
Tailwind
colors: {
  custom: {
    50: '#f3e4bb',
    500: '#ecd99e',
    950: '#000000',
  },
}
SCSS
$custom: #ecd99e;
$custom-light: #f3e4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd99e",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 158
  },
  "hsl": {
    "h": 45.385,
    "s": 67.241,
    "l": 77.255
  },
  "oklch": {
    "l": 0.88696,
    "c": 0.07874,
    "h": 92.3
  },
  "luminance": 0.69927
}

Semantic roles & 50–950 ramp

primary
#ECD99E
secondary
#667EC8
accent
#43CF16
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171512
muted
#858482

Preview Lab

Preview with #ECD99E

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

Preview Lab → · Contrast checker → · Palette generator →

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