#ECE296#ECE296

#ECE296 is a very light, moderate yellow. Relative luminance 0.744; OKLCH L 90.4% C 0.097 H 101.7°. Best body text is #000000 at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#ECE296
RGBrgb(236, 226, 150)
HSLhsl(53, 69%, 76%)
HSVhsv(53, 36%, 93%)
CMYKcmyk(0%, 4.2%, 36.4%, 7.5%)
CIE-LABlab(89.13, -7.49, 38.41)
CIE-LCHlch(89.13, 39.13, 101.03°)
OKLaboklab(90.36% -0.0195 0.0946)
OKLCHoklch(90.36% 0.097 101.7)
XYZxyz(67.2945, 74.4293, 39.6696)
Luminance0.7443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE296 #96A0EC
analogous
#ECB796 #ECE296 #CBEC96
triadic
#ECE296 #96ECE2 #E296EC
tetradic
#ECE296 #96ECB7 #96A0EC #EC96CB
square
#ECE296 #96ECB7 #96A0EC #EC96CB
split-complementary
#ECE296 #96CBEC #B796EC
monochromatic
#D9C52E #E3D462 #ECE296 #F5F0CA #FAF8E5

Accessibility & contrast

On white

1.32
#ECE296 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.89
#ECE296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE296
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE296#FFFFFF#000000##000000
##ECE2961.001.3215.8915.89
#FFFFFF1.321.0021.0021.00
#00000015.8921.001.001.00
##00000015.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDD90
Deuteranopia (green-blind)
#F3E299
Tritanopia (blue-blind)
#F8D8CF
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ece296;
/* rgb */ color: rgb(236, 226, 150);
/* oklch */ color: oklch(90.4% 0.097 101.7);
Tailwind
colors: {
  custom: {
    50: '#f3ebb5',
    500: '#ece296',
    950: '#000000',
  },
}
SCSS
$custom: #ece296;
$custom-light: #f3ebb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ece296",
  "rgb": {
    "r": 236,
    "g": 226,
    "b": 150
  },
  "hsl": {
    "h": 53.023,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.90364,
    "c": 0.0966,
    "h": 101.7
  },
  "luminance": 0.74428
}

Semantic roles & 50–950 ramp

primary
#ECE296
secondary
#5F6BC7
accent
#2AD114
background
#FFFEFD
surface
#FEFDF8
border
#D6D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #ECE296

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

Preview Lab → · Contrast checker → · Palette generator →

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