#ECD488#ECD488

#ECD488 is a very light, moderate yellow. Relative luminance 0.667; OKLCH L 87.3% C 0.099 H 92.5°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#ECD488
RGBrgb(236, 212, 136)
HSLhsl(46, 72%, 73%)
HSVhsv(46, 42%, 93%)
CMYKcmyk(0%, 10.2%, 42.4%, 7.5%)
CIE-LABlab(85.35, -1.88, 40.58)
CIE-LCHlch(85.35, 40.63, 92.65°)
OKLaboklab(87.31% -0.0044 0.099)
OKLCHoklch(87.31% 0.099 92.5)
XYZxyz(62.5811, 66.6998, 32.8656)
Luminance0.6670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD488 #88A0EC
analogous
#ECA288 #ECD488 #D2EC88
triadic
#ECD488 #88ECD4 #D488EC
tetradic
#ECD488 #88ECA2 #88A0EC #EC88D2
square
#ECD488 #88ECA2 #88A0EC #EC88D2
split-complementary
#ECD488 #88D2EC #A288EC
monochromatic
#D7AC22 #E4C153 #ECD488 #F4E7BD #FBF5E5

Accessibility & contrast

On white

1.46
#ECD488 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.34
#ECD488 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD488
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD488#FFFFFF#000000##000000
##ECD4881.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D182
Deuteranopia (green-blind)
#E9D88B
Tritanopia (blue-blind)
#FAC9C1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ecd488;
/* rgb */ color: rgb(236, 212, 136);
/* oklch */ color: oklch(87.3% 0.099 92.5);
Tailwind
colors: {
  custom: {
    50: '#f4e1ab',
    500: '#ecd488',
    950: '#000000',
  },
}
SCSS
$custom: #ecd488;
$custom-light: #f4e1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd488",
  "rgb": {
    "r": 236,
    "g": 212,
    "b": 136
  },
  "hsl": {
    "h": 45.6,
    "s": 72.464,
    "l": 72.941
  },
  "oklch": {
    "l": 0.87314,
    "c": 0.09908,
    "h": 92.5
  },
  "luminance": 0.66697
}

Semantic roles & 50–950 ramp

primary
#ECD488
secondary
#526EC6
accent
#40D511
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECD488

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

Preview Lab → · Contrast checker → · Palette generator →

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