#ECEB99#ECEB99

#ECEB99 is a very light, moderate yellow. Relative luminance 0.795; OKLCH L 92.2% C 0.103 H 107.7°. Best body text is #000000 at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#ECEB99
RGBrgb(236, 235, 153)
HSLhsl(59, 69%, 76%)
HSVhsv(59, 35%, 93%)
CMYKcmyk(0%, 0.4%, 35.2%, 7.5%)
CIE-LABlab(91.48, -11.65, 39.96)
CIE-LCHlch(91.48, 41.63, 106.25°)
OKLaboklab(92.25% -0.0313 0.0983)
OKLCHoklch(92.25% 0.103 107.7)
XYZxyz(70.0509, 79.5508, 41.7955)
Luminance0.7955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEB99 #999AEC
analogous
#ECC299 #ECEB99 #C4EC99
triadic
#ECEB99 #99ECEB #EB99EC
tetradic
#ECEB99 #99ECC2 #999AEC #EC99C4
square
#ECEB99 #99ECC2 #999AEC #EC99C4
split-complementary
#ECEB99 #99C4EC #C299EC
monochromatic
#D9D732 #E2E165 #ECEB99 #F6F5CD #FAFAE5

Accessibility & contrast

On white

1.24
#ECEB99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.91
#ECEB99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEB99
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEB99#FFFFFF#000000##000000
##ECEB991.001.2416.9116.91
#FFFFFF1.241.0021.0021.00
#00000016.9121.001.001.00
##00000016.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E593
Deuteranopia (green-blind)
#F9E89C
Tritanopia (blue-blind)
#F7E1D6
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #eceb99;
/* rgb */ color: rgb(236, 235, 153);
/* oklch */ color: oklch(92.2% 0.103 107.7);
Tailwind
colors: {
  custom: {
    50: '#f3f1b8',
    500: '#eceb99',
    950: '#000000',
  },
}
SCSS
$custom: #eceb99;
$custom-light: #f3f1b8;
$custom-dark: #000000;
JSON
{
  "hex": "#eceb99",
  "rgb": {
    "r": 236,
    "g": 235,
    "b": 153
  },
  "hsl": {
    "h": 59.277,
    "s": 68.595,
    "l": 76.275
  },
  "oklch": {
    "l": 0.92249,
    "c": 0.10318,
    "h": 107.7
  },
  "luminance": 0.79549
}

Semantic roles & 50–950 ramp

primary
#ECEB99
secondary
#6263C8
accent
#17D115
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #ECEB99

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

Preview Lab → · Contrast checker → · Palette generator →

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