#ECE99B#ECE99B

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

Color values

HEX#ECE99B
RGBrgb(236, 233, 155)
HSLhsl(58, 68%, 77%)
HSVhsv(58, 34%, 93%)
CMYKcmyk(0%, 1.3%, 34.3%, 7.5%)
CIE-LABlab(91.00, -10.42, 38.34)
CIE-LCHlch(91.00, 39.73, 105.21°)
OKLaboklab(91.87% -0.0277 0.0946)
OKLCHoklch(91.87% 0.099 106.3)
XYZxyz(69.6481, 78.4787, 42.4829)
Luminance0.7848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE99B #9B9EEC
analogous
#ECC19B #ECE99B #C7EC9B
triadic
#ECE99B #9BECE9 #E99BEC
tetradic
#ECE99B #9BECC1 #9B9EEC #EC9BC7
square
#ECE99B #9BECC1 #9B9EEC #EC9BC7
split-complementary
#ECE99B #9BC7EC #C19BEC
monochromatic
#D8D234 #E2DE68 #ECE99B #F6F4CE #FAF9E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECE99B#FFFFFF#000000##000000
##ECE99B1.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)
#F6E395
Deuteranopia (green-blind)
#F8E79E
Tritanopia (blue-blind)
#F7DFD5
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ece99b;
/* rgb */ color: rgb(236, 233, 155);
/* oklch */ color: oklch(91.9% 0.099 106.3);
Tailwind
colors: {
  custom: {
    50: '#f3efb9',
    500: '#ece99b',
    950: '#000000',
  },
}
SCSS
$custom: #ece99b;
$custom-light: #f3efb9;
$custom-dark: #000000;
JSON
{
  "hex": "#ece99b",
  "rgb": {
    "r": 236,
    "g": 233,
    "b": 155
  },
  "hsl": {
    "h": 57.778,
    "s": 68.067,
    "l": 76.667
  },
  "oklch": {
    "l": 0.91874,
    "c": 0.09859,
    "h": 106.3
  },
  "luminance": 0.78477
}

Semantic roles & 50–950 ramp

primary
#ECE99B
secondary
#6367C8
accent
#1CD016
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #ECE99B

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

Preview Lab → · Contrast checker → · Palette generator →

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