#ECD899#ECD899

#ECD899 is a very light, moderate yellow. Relative luminance 0.692; OKLCH L 88.4% C 0.084 H 92.5°. Best body text is #000000 at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#ECD899
RGBrgb(236, 216, 153)
HSLhsl(46, 69%, 76%)
HSVhsv(46, 35%, 93%)
CMYKcmyk(0%, 8.5%, 35.2%, 7.5%)
CIE-LABlab(86.63, -2.07, 33.61)
CIE-LCHlch(86.63, 33.67, 93.52°)
OKLaboklab(88.4% -0.0037 0.0835)
OKLCHoklch(88.4% 0.084 92.5)
XYZxyz(64.8988, 69.2465, 40.0781)
Luminance0.6925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD899 #99ADEC
analogous
#ECAF99 #ECD899 #D7EC99
triadic
#ECD899 #99ECD8 #D899EC
tetradic
#ECD899 #99ECAF #99ADEC #EC99D7
square
#ECD899 #99ECAF #99ADEC #EC99D7
split-complementary
#ECD899 #99D7EC #AF99EC
monochromatic
#D9B132 #E2C465 #ECD899 #F6ECCD #FAF5E5

Accessibility & contrast

On white

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

On black

14.85
#ECD899 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD899
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD899#FFFFFF#000000##000000
##ECD8991.001.4114.8514.85
#FFFFFF1.411.0021.0021.00
#00000014.8521.001.001.00
##00000014.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D595
Deuteranopia (green-blind)
#EADB9B
Tritanopia (blue-blind)
#F9CEC8
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ecd899;
/* rgb */ color: rgb(236, 216, 153);
/* oklch */ color: oklch(88.4% 0.084 92.5);
Tailwind
colors: {
  custom: {
    50: '#f3e3b7',
    500: '#ecd899',
    950: '#000000',
  },
}
SCSS
$custom: #ecd899;
$custom-light: #f3e3b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd899",
  "rgb": {
    "r": 236,
    "g": 216,
    "b": 153
  },
  "hsl": {
    "h": 45.542,
    "s": 68.595,
    "l": 76.275
  },
  "oklch": {
    "l": 0.88404,
    "c": 0.0836,
    "h": 92.5
  },
  "luminance": 0.69245
}

Semantic roles & 50–950 ramp

primary
#ECD899
secondary
#627AC8
accent
#42D115
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #ECD899

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

Preview Lab → · Contrast checker → · Palette generator →

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