#ECE99D#ECE99D

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

Color values

HEX#ECE99D
RGBrgb(236, 233, 157)
HSLhsl(58, 68%, 77%)
HSVhsv(58, 33%, 93%)
CMYKcmyk(0%, 1.3%, 33.5%, 7.5%)
CIE-LABlab(91.03, -10.19, 37.37)
CIE-LCHlch(91.03, 38.74, 105.25°)
OKLaboklab(91.91% -0.0269 0.0925)
OKLCHoklch(91.91% 0.096 106.2)
XYZxyz(69.8175, 78.5464, 43.3748)
Luminance0.7854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE99D #9DA0EC
analogous
#ECC29D #ECE99D #C7EC9D
triadic
#ECE99D #9DECE9 #E99DEC
tetradic
#ECE99D #9DECC2 #9DA0EC #EC9DC7
square
#ECE99D #9DECC2 #9DA0EC #EC9DC7
split-complementary
#ECE99D #9DC7EC #C29DEC
monochromatic
#D8D236 #E2DD6A #ECE99D #F6F5D0 #FAF9E5

Accessibility & contrast

On white

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

On black

16.71
#ECE99D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE99D
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE99D#FFFFFF#000000##000000
##ECE99D1.001.2616.7116.71
#FFFFFF1.261.0021.0021.00
#00000016.7121.001.001.00
##00000016.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E398
Deuteranopia (green-blind)
#F7E7A0
Tritanopia (blue-blind)
#F7E0D6
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ece99d;
/* rgb */ color: rgb(236, 233, 157);
/* oklch */ color: oklch(91.9% 0.096 106.2);
Tailwind
colors: {
  custom: {
    50: '#f3efba',
    500: '#ece99d',
    950: '#000000',
  },
}
SCSS
$custom: #ece99d;
$custom-light: #f3efba;
$custom-dark: #000000;
JSON
{
  "hex": "#ece99d",
  "rgb": {
    "r": 236,
    "g": 233,
    "b": 157
  },
  "hsl": {
    "h": 57.722,
    "s": 67.521,
    "l": 77.059
  },
  "oklch": {
    "l": 0.91908,
    "c": 0.09628,
    "h": 106.2
  },
  "luminance": 0.78545
}

Semantic roles & 50–950 ramp

primary
#ECE99D
secondary
#6569C8
accent
#1DCF16
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171612
muted
#858582

Preview Lab

Preview with #ECE99D

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

Preview Lab → · Contrast checker → · Palette generator →

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