#ECE08D#ECE08D

#ECE08D is a very light, moderate yellow. Relative luminance 0.731; OKLCH L 89.8% C 0.105 H 101.1°. Best body text is #000000 at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#ECE08D
RGBrgb(236, 224, 141)
HSLhsl(52, 71%, 74%)
HSVhsv(52, 40%, 93%)
CMYKcmyk(0%, 5.1%, 40.3%, 7.5%)
CIE-LABlab(88.48, -7.46, 42.08)
CIE-LCHlch(88.48, 42.73, 100.05°)
OKLaboklab(89.81% -0.0201 0.1026)
OKLCHoklch(89.81% 0.105 101.1)
XYZxyz(66.0567, 73.0691, 35.8182)
Luminance0.7307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE08D #8D99EC
analogous
#ECB18D #ECE08D #C9EC8D
triadic
#ECE08D #8DECE0 #E08DEC
tetradic
#ECE08D #8DECB1 #8D99EC #EC8DC9
square
#ECE08D #8DECB1 #8D99EC #EC8DC9
split-complementary
#ECE08D #8DC9EC #B18DEC
monochromatic
#DAC324 #E3D259 #ECE08D #F5EEC1 #FBF8E5

Accessibility & contrast

On white

1.34
#ECE08D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.61
#ECE08D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE08D
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE08D#FFFFFF#000000##000000
##ECE08D1.001.3415.6115.61
#FFFFFF1.341.0021.0021.00
#00000015.6121.001.001.00
##00000015.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDB87
Deuteranopia (green-blind)
#F2E090
Tritanopia (blue-blind)
#F9D5CB
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ece08d;
/* rgb */ color: rgb(236, 224, 141);
/* oklch */ color: oklch(89.8% 0.105 101.1);
Tailwind
colors: {
  custom: {
    50: '#f3e9af',
    500: '#ece08d',
    950: '#000000',
  },
}
SCSS
$custom: #ece08d;
$custom-light: #f3e9af;
$custom-dark: #000000;
JSON
{
  "hex": "#ece08d",
  "rgb": {
    "r": 236,
    "g": 224,
    "b": 141
  },
  "hsl": {
    "h": 52.421,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.89811,
    "c": 0.10458,
    "h": 101.1
  },
  "luminance": 0.73067
}

Semantic roles & 50–950 ramp

primary
#ECE08D
secondary
#5665C7
accent
#2AD312
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #ECE08D

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

Preview Lab → · Contrast checker → · Palette generator →

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