#ECD388#ECD388

#ECD388 is a very light, moderate yellow. Relative luminance 0.662; OKLCH L 87.1% C 0.098 H 91.7°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#ECD388
RGBrgb(236, 211, 136)
HSLhsl(45, 72%, 73%)
HSVhsv(45, 42%, 93%)
CMYKcmyk(0%, 10.6%, 42.4%, 7.5%)
CIE-LABlab(85.10, -1.37, 40.26)
CIE-LCHlch(85.10, 40.28, 91.95°)
OKLaboklab(87.11% -0.0029 0.0983)
OKLCHoklch(87.11% 0.098 91.7)
XYZxyz(62.3319, 66.2014, 32.7826)
Luminance0.6620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD388 #88A1EC
analogous
#ECA188 #ECD388 #D3EC88
triadic
#ECD388 #88ECD3 #D388EC
tetradic
#ECD388 #88ECA1 #88A1EC #EC88D3
square
#ECD388 #88ECA1 #88A1EC #EC88D3
split-complementary
#ECD388 #88D3EC #A188EC
monochromatic
#D7AA22 #E4BF53 #ECD388 #F4E7BD #FBF5E5

Accessibility & contrast

On white

1.47
#ECD388 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.24
#ECD388 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD388
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD388#FFFFFF#000000##000000
##ECD3881.001.4714.2414.24
#FFFFFF1.471.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecd388;
/* rgb */ color: rgb(236, 211, 136);
/* oklch */ color: oklch(87.1% 0.098 91.7);
Tailwind
colors: {
  custom: {
    50: '#f4e0ab',
    500: '#ecd388',
    950: '#000000',
  },
}
SCSS
$custom: #ecd388;
$custom-light: #f4e0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd388",
  "rgb": {
    "r": 236,
    "g": 211,
    "b": 136
  },
  "hsl": {
    "h": 45,
    "s": 72.464,
    "l": 72.941
  },
  "oklch": {
    "l": 0.87114,
    "c": 0.09829,
    "h": 91.7
  },
  "luminance": 0.66199
}

Semantic roles & 50–950 ramp

primary
#ECD388
secondary
#526FC6
accent
#42D511
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECD388

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

Preview Lab → · Contrast checker → · Palette generator →

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