#ECED97#ECED97

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

Color values

HEX#ECED97
RGBrgb(236, 237, 151)
HSLhsl(61, 70%, 76%)
HSVhsv(61, 36%, 93%)
CMYKcmyk(0.4%, 0%, 36.3%, 7.1%)
CIE-LABlab(91.97, -12.86, 41.59)
CIE-LCHlch(91.97, 43.53, 107.19°)
OKLaboklab(92.63% -0.0349 0.102)
OKLCHoklch(92.63% 0.108 108.9)
XYZxyz(70.4629, 80.6369, 41.1247)
Luminance0.8064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECED97 #9897ED
analogous
#EDC397 #ECED97 #C1ED97
triadic
#ECED97 #97ECED #ED97EC
tetradic
#ECED97 #97EDC3 #9897ED #ED97C1
square
#ECED97 #97EDC3 #9897ED #ED97C1
split-complementary
#ECED97 #97C1ED #C397ED
monochromatic
#D9DB2F #E2E463 #ECED97 #F6F6CB #FAFAE5

Accessibility & contrast

On white

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

On black

17.13
#ECED97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECED97
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECED97#FFFFFF#000000##000000
##ECED971.001.2317.1317.13
#FFFFFF1.231.0021.0021.00
#00000017.1321.001.001.00
##00000017.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE691
Deuteranopia (green-blind)
#FBEA9B
Tritanopia (blue-blind)
#F7E3D8
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #eced97;
/* rgb */ color: rgb(236, 237, 151);
/* oklch */ color: oklch(92.6% 0.108 108.9);
Tailwind
colors: {
  custom: {
    50: '#f3f2b6',
    500: '#eced97',
    950: '#000000',
  },
}
SCSS
$custom: #eced97;
$custom-light: #f3f2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#eced97",
  "rgb": {
    "r": 236,
    "g": 237,
    "b": 151
  },
  "hsl": {
    "h": 60.698,
    "s": 70.492,
    "l": 76.078
  },
  "oklch": {
    "l": 0.92626,
    "c": 0.10777,
    "h": 108.9
  },
  "luminance": 0.80636
}

Semantic roles & 50–950 ramp

primary
#ECED97
secondary
#615FC9
accent
#13D315
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #ECED97

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

Preview Lab → · Contrast checker → · Palette generator →

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