#ECED96#ECED96

#ECED96 is a very light, moderate yellow. Relative luminance 0.806; OKLCH L 92.6% C 0.109 H 108.9°. Best body text is #000000 at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#ECED96
RGBrgb(236, 237, 150)
HSLhsl(61, 71%, 76%)
HSVhsv(61, 37%, 93%)
CMYKcmyk(0.4%, 0%, 36.7%, 7.1%)
CIE-LABlab(91.96, -12.97, 42.06)
CIE-LCHlch(91.96, 44.02, 107.14°)
OKLaboklab(92.61% -0.0353 0.103)
OKLCHoklch(92.61% 0.109 108.9)
XYZxyz(70.3821, 80.6046, 40.6988)
Luminance0.8060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECED96 #9796ED
analogous
#EDC296 #ECED96 #C0ED96
triadic
#ECED96 #96ECED #ED96EC
tetradic
#ECED96 #96EDC2 #9796ED #ED96C0
square
#ECED96 #96EDC2 #9796ED #ED96C0
split-complementary
#ECED96 #96C0ED #C296ED
monochromatic
#D9DB2E #E3E462 #ECED96 #F5F6CA #FAFBE5

Accessibility & contrast

On white

1.23
#ECED96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.12
#ECED96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECED96
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECED96#FFFFFF#000000##000000
##ECED961.001.2317.1217.12
#FFFFFF1.231.0021.0021.00
#00000017.1221.001.001.00
##00000017.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE690
Deuteranopia (green-blind)
#FBEA9A
Tritanopia (blue-blind)
#F7E3D7
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #eced96;
/* rgb */ color: rgb(236, 237, 150);
/* oklch */ color: oklch(92.6% 0.109 108.9);
Tailwind
colors: {
  custom: {
    50: '#f3f2b6',
    500: '#eced96',
    950: '#000000',
  },
}
SCSS
$custom: #eced96;
$custom-light: #f3f2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#eced96",
  "rgb": {
    "r": 236,
    "g": 237,
    "b": 150
  },
  "hsl": {
    "h": 60.69,
    "s": 70.732,
    "l": 75.882
  },
  "oklch": {
    "l": 0.9261,
    "c": 0.10889,
    "h": 108.9
  },
  "luminance": 0.80603
}

Semantic roles & 50–950 ramp

primary
#ECED96
secondary
#605EC9
accent
#13D315
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #ECED96

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

Preview Lab → · Contrast checker → · Palette generator →

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