#ECEE97#ECEE97

#ECEE97 is a very light, moderate yellow. Relative luminance 0.812; OKLCH L 92.8% C 0.109 H 109.5°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#ECEE97
RGBrgb(236, 238, 151)
HSLhsl(61, 72%, 76%)
HSVhsv(61, 37%, 93%)
CMYKcmyk(0.8%, 0%, 36.6%, 6.7%)
CIE-LABlab(92.23, -13.35, 41.92)
CIE-LCHlch(92.23, 43.99, 107.67°)
OKLaboklab(92.83% -0.0363 0.1027)
OKLCHoklch(92.83% 0.109 109.5)
XYZxyz(70.7533, 81.2176, 41.2215)
Luminance0.8122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEE97 #9997EE
analogous
#EEC597 #ECEE97 #C1EE97
triadic
#ECEE97 #97ECEE #EE97EC
tetradic
#ECEE97 #97EEC5 #9997EE #EE97C1
square
#ECEE97 #97EEC5 #9997EE #EE97C1
split-complementary
#ECEE97 #97C1EE #C597EE
monochromatic
#D9DD2E #E2E562 #ECEE97 #F6F7CC #FAFBE5

Accessibility & contrast

On white

1.22
#ECEE97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.24
#ECEE97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEE97
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEE97#FFFFFF#000000##000000
##ECEE971.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE791
Deuteranopia (green-blind)
#FCEA9B
Tritanopia (blue-blind)
#F7E4D8
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ecee97;
/* rgb */ color: rgb(236, 238, 151);
/* oklch */ color: oklch(92.8% 0.109 109.5);
Tailwind
colors: {
  custom: {
    50: '#f3f3b6',
    500: '#ecee97',
    950: '#000000',
  },
}
SCSS
$custom: #ecee97;
$custom-light: #f3f3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecee97",
  "rgb": {
    "r": 236,
    "g": 238,
    "b": 151
  },
  "hsl": {
    "h": 61.379,
    "s": 71.901,
    "l": 76.275
  },
  "oklch": {
    "l": 0.92832,
    "c": 0.10896,
    "h": 109.5
  },
  "luminance": 0.81216
}

Semantic roles & 50–950 ramp

primary
#ECEE97
secondary
#625FCA
accent
#12D416
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECEE97

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

Preview Lab → · Contrast checker → · Palette generator →

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