#ECE99C#ECE99C

#ECE99C is a very light, moderate yellow. Relative luminance 0.785; OKLCH L 91.9% C 0.097 H 106.3°. Best body text is #000000 at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#ECE99C
RGBrgb(236, 233, 156)
HSLhsl(58, 68%, 77%)
HSVhsv(58, 34%, 93%)
CMYKcmyk(0%, 1.3%, 33.9%, 7.5%)
CIE-LABlab(91.01, -10.31, 37.85)
CIE-LCHlch(91.01, 39.23, 105.23°)
OKLaboklab(91.89% -0.0273 0.0935)
OKLCHoklch(91.89% 0.097 106.3)
XYZxyz(69.7324, 78.5124, 42.9271)
Luminance0.7851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE99C #9C9FEC
analogous
#ECC19C #ECE99C #C7EC9C
triadic
#ECE99C #9CECE9 #E99CEC
tetradic
#ECE99C #9CECC1 #9C9FEC #EC9CC7
square
#ECE99C #9CECC1 #9C9FEC #EC9CC7
split-complementary
#ECE99C #9CC7EC #C19CEC
monochromatic
#D8D235 #E2DE69 #ECE99C #F6F4CF #FAF9E5

Accessibility & contrast

On white

1.26
#ECE99C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.70
#ECE99C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE99C
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE99C#FFFFFF#000000##000000
##ECE99C1.001.2616.7016.70
#FFFFFF1.261.0021.0021.00
#00000016.7021.001.001.00
##00000016.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E397
Deuteranopia (green-blind)
#F7E79F
Tritanopia (blue-blind)
#F7E0D5
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ece99c;
/* rgb */ color: rgb(236, 233, 156);
/* oklch */ color: oklch(91.9% 0.097 106.3);
Tailwind
colors: {
  custom: {
    50: '#f3efba',
    500: '#ece99c',
    950: '#000000',
  },
}
SCSS
$custom: #ece99c;
$custom-light: #f3efba;
$custom-dark: #000000;
JSON
{
  "hex": "#ece99c",
  "rgb": {
    "r": 236,
    "g": 233,
    "b": 156
  },
  "hsl": {
    "h": 57.75,
    "s": 67.797,
    "l": 76.863
  },
  "oklch": {
    "l": 0.91891,
    "c": 0.09743,
    "h": 106.3
  },
  "luminance": 0.78511
}

Semantic roles & 50–950 ramp

primary
#ECE99C
secondary
#6468C8
accent
#1DD016
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #ECE99C

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

Preview Lab → · Contrast checker → · Palette generator →

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