#ECD985#ECD985

#ECD985 is a very light, moderate yellow. Relative luminance 0.692; OKLCH L 88.3% C 0.107 H 97.0°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#ECD985
RGBrgb(236, 217, 133)
HSLhsl(49, 73%, 72%)
HSVhsv(49, 44%, 93%)
CMYKcmyk(0%, 8.1%, 43.6%, 7.5%)
CIE-LABlab(86.58, -4.73, 43.64)
CIE-LCHlch(86.58, 43.90, 96.19°)
OKLaboklab(88.27% -0.0129 0.1058)
OKLCHoklch(88.27% 0.107 97)
XYZxyz(63.6402, 69.1542, 32.1816)
Luminance0.6915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD985 #8598EC
analogous
#ECA685 #ECD985 #CCEC85
triadic
#ECD985 #85ECD9 #D985EC
tetradic
#ECD985 #85ECA6 #8598EC #EC85CC
square
#ECD985 #85ECA6 #8598EC #EC85CC
split-complementary
#ECD985 #85CCEC #A685EC
monochromatic
#D5B421 #E4C950 #ECD985 #F4E9BA #FBF7E5

Accessibility & contrast

On white

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

On black

14.83
#ECD985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD985
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD985#FFFFFF#000000##000000
##ECD9851.001.4214.8314.83
#FFFFFF1.421.0021.0021.00
#00000014.8321.001.001.00
##00000014.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D57E
Deuteranopia (green-blind)
#EEDC88
Tritanopia (blue-blind)
#FACEC4
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ecd985;
/* rgb */ color: rgb(236, 217, 133);
/* oklch */ color: oklch(88.3% 0.107 97.0);
Tailwind
colors: {
  custom: {
    50: '#f4e4aa',
    500: '#ecd985',
    950: '#000000',
  },
}
SCSS
$custom: #ecd985;
$custom-light: #f4e4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd985",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 133
  },
  "hsl": {
    "h": 48.932,
    "s": 73.05,
    "l": 72.353
  },
  "oklch": {
    "l": 0.8827,
    "c": 0.10654,
    "h": 97
  },
  "luminance": 0.69152
}

Semantic roles & 50–950 ramp

primary
#ECD985
secondary
#4F65C6
accent
#35D510
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECD985

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

Preview Lab → · Contrast checker → · Palette generator →

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