#ECECB5#ECECB5

#ECECB5 is a very light, moderate yellow. Relative luminance 0.812; OKLCH L 93.0% C 0.071 H 107.7°. Best body text is #000000 at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#ECECB5
RGBrgb(236, 236, 181)
HSLhsl(60, 59%, 82%)
HSVhsv(60, 23%, 93%)
CMYKcmyk(0%, 0%, 23.3%, 7.5%)
CIE-LABlab(92.20, -8.65, 26.77)
CIE-LCHlch(92.20, 28.13, 107.91°)
OKLaboklab(92.97% -0.0216 0.0678)
OKLCHoklch(92.97% 0.071 107.7)
XYZxyz(72.9279, 81.1609, 55.5309)
Luminance0.8116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECECB5 #B5B5EC
analogous
#ECD1B5 #ECECB5 #D1ECB5
triadic
#ECECB5 #B5ECEC #ECB5EC
tetradic
#ECECB5 #B5ECD1 #B5B5EC #ECB5D1
square
#ECECB5 #B5ECD1 #B5B5EC #ECB5D1
split-complementary
#ECECB5 #B5D1EC #D1B5EC
monochromatic
#D3D354 #DFDF84 #ECECB5 #F9F9E6 #F9F9E7

Accessibility & contrast

On white

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

On black

17.23
#ECECB5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECECB5
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECECB5#FFFFFF#000000##000000
##ECECB51.001.2217.2317.23
#FFFFFF1.221.0021.0021.00
#00000017.2321.001.001.00
##00000017.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E7B2
Deuteranopia (green-blind)
#F6EAB7
Tritanopia (blue-blind)
#F4E5DD
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ececb5;
/* rgb */ color: rgb(236, 236, 181);
/* oklch */ color: oklch(93.0% 0.071 107.7);
Tailwind
colors: {
  custom: {
    50: '#f2f2cb',
    500: '#ececb5',
    950: '#000000',
  },
}
SCSS
$custom: #ececb5;
$custom-light: #f2f2cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ececb5",
  "rgb": {
    "r": 236,
    "g": 236,
    "b": 181
  },
  "hsl": {
    "h": 60,
    "s": 59.14,
    "l": 81.765
  },
  "oklch": {
    "l": 0.92972,
    "c": 0.07115,
    "h": 107.7
  },
  "luminance": 0.8116
}

Semantic roles & 50–950 ramp

primary
#ECECB5
secondary
#7C7CC9
accent
#1FC71F
background
#FFFFFE
surface
#FEFEFA
border
#D6D6D3
text
#171613
muted
#858583

Preview Lab

Preview with #ECECB5

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

Preview Lab → · Contrast checker → · Palette generator →

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