#ECE196#ECE196

#ECE196 is a very light, moderate yellow. Relative luminance 0.739; OKLCH L 90.2% C 0.096 H 100.9°. Best body text is #000000 at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#ECE196
RGBrgb(236, 225, 150)
HSLhsl(52, 69%, 76%)
HSVhsv(52, 36%, 93%)
CMYKcmyk(0%, 4.7%, 36.4%, 7.5%)
CIE-LABlab(88.87, -6.98, 38.07)
CIE-LCHlch(88.87, 38.71, 100.39°)
OKLaboklab(90.16% -0.0181 0.0938)
OKLCHoklch(90.16% 0.096 100.9)
XYZxyz(67.0233, 73.8871, 39.5793)
Luminance0.7389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE196 #96A1EC
analogous
#ECB696 #ECE196 #CCEC96
triadic
#ECE196 #96ECE1 #E196EC
tetradic
#ECE196 #96ECB6 #96A1EC #EC96CC
square
#ECE196 #96ECB6 #96A1EC #EC96CC
split-complementary
#ECE196 #96CCEC #B696EC
monochromatic
#D9C32E #E3D262 #ECE196 #F5F0CA #FAF8E5

Accessibility & contrast

On white

1.33
#ECE196 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.78
#ECE196 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE196
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE196#FFFFFF#000000##000000
##ECE1961.001.3315.7815.78
#FFFFFF1.331.0021.0021.00
#00000015.7821.001.001.00
##00000015.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDC91
Deuteranopia (green-blind)
#F2E199
Tritanopia (blue-blind)
#F8D7CE
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #ece196;
/* rgb */ color: rgb(236, 225, 150);
/* oklch */ color: oklch(90.2% 0.096 100.9);
Tailwind
colors: {
  custom: {
    50: '#f3eab5',
    500: '#ece196',
    950: '#000000',
  },
}
SCSS
$custom: #ece196;
$custom-light: #f3eab5;
$custom-dark: #000000;
JSON
{
  "hex": "#ece196",
  "rgb": {
    "r": 236,
    "g": 225,
    "b": 150
  },
  "hsl": {
    "h": 52.326,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.90162,
    "c": 0.09556,
    "h": 100.9
  },
  "luminance": 0.73885
}

Semantic roles & 50–950 ramp

primary
#ECE196
secondary
#5F6CC7
accent
#2CD114
background
#FFFEFD
surface
#FEFDF8
border
#D6D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #ECE196

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

Preview Lab → · Contrast checker → · Palette generator →

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