#ECE99A#ECE99A

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

Color values

HEX#ECE99A
RGBrgb(236, 233, 154)
HSLhsl(58, 68%, 76%)
HSVhsv(58, 35%, 93%)
CMYKcmyk(0%, 1.3%, 34.7%, 7.5%)
CIE-LABlab(90.98, -10.54, 38.82)
CIE-LCHlch(90.98, 40.22, 105.19°)
OKLaboklab(91.86% -0.0281 0.0957)
OKLCHoklch(91.86% 0.1 106.3)
XYZxyz(69.5645, 78.4452, 42.0425)
Luminance0.7844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE99A #9A9DEC
analogous
#ECC09A #ECE99A #C6EC9A
triadic
#ECE99A #9AECE9 #E99AEC
tetradic
#ECE99A #9AECC0 #9A9DEC #EC9AC6
square
#ECE99A #9AECC0 #9A9DEC #EC9AC6
split-complementary
#ECE99A #9AC6EC #C09AEC
monochromatic
#D9D333 #E2DE66 #ECE99A #F6F4CE #FAF9E5

Accessibility & contrast

On white

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

On black

16.69
#ECE99A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE99A
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE99A#FFFFFF#000000##000000
##ECE99A1.001.2616.6916.69
#FFFFFF1.261.0021.0021.00
#00000016.6921.001.001.00
##00000016.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E394
Deuteranopia (green-blind)
#F8E79D
Tritanopia (blue-blind)
#F7DFD5
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ece99a;
/* rgb */ color: rgb(236, 233, 154);
/* oklch */ color: oklch(91.9% 0.100 106.3);
Tailwind
colors: {
  custom: {
    50: '#f3efb8',
    500: '#ece99a',
    950: '#000000',
  },
}
SCSS
$custom: #ece99a;
$custom-light: #f3efb8;
$custom-dark: #000000;
JSON
{
  "hex": "#ece99a",
  "rgb": {
    "r": 236,
    "g": 233,
    "b": 154
  },
  "hsl": {
    "h": 57.805,
    "s": 68.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.91857,
    "c": 0.09972,
    "h": 106.3
  },
  "luminance": 0.78444
}

Semantic roles & 50–950 ramp

primary
#ECE99A
secondary
#6266C8
accent
#1CD015
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #ECE99A

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

Preview Lab → · Contrast checker → · Palette generator →

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