#ECECB3#ECECB3

#ECECB3 is a very light, moderate yellow. Relative luminance 0.811; OKLCH L 92.9% C 0.074 H 107.7°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#ECECB3
RGBrgb(236, 236, 179)
HSLhsl(60, 60%, 81%)
HSVhsv(60, 24%, 93%)
CMYKcmyk(0%, 0%, 24.2%, 7.5%)
CIE-LABlab(92.17, -8.92, 27.74)
CIE-LCHlch(92.17, 29.14, 107.83°)
OKLaboklab(92.93% -0.0224 0.0701)
OKLCHoklch(92.93% 0.074 107.7)
XYZxyz(72.7241, 81.0794, 54.4579)
Luminance0.8108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECECB3 #B3B3EC
analogous
#ECD0B3 #ECECB3 #D0ECB3
triadic
#ECECB3 #B3ECEC #ECB3EC
tetradic
#ECECB3 #B3ECD0 #B3B3EC #ECB3D0
square
#ECECB3 #B3ECD0 #B3B3EC #ECB3D0
split-complementary
#ECECB3 #B3D0EC #D0B3EC
monochromatic
#D4D451 #E0E082 #ECECB3 #F8F8E4 #F9F9E7

Accessibility & contrast

On white

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

On black

17.22
#ECECB3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECECB3
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECECB3#FFFFFF#000000##000000
##ECECB31.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E7AF
Deuteranopia (green-blind)
#F7EAB5
Tritanopia (blue-blind)
#F4E5DD
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ececb3;
/* rgb */ color: rgb(236, 236, 179);
/* oklch */ color: oklch(92.9% 0.074 107.7);
Tailwind
colors: {
  custom: {
    50: '#f2f2ca',
    500: '#ececb3',
    950: '#000000',
  },
}
SCSS
$custom: #ececb3;
$custom-light: #f2f2ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ececb3",
  "rgb": {
    "r": 236,
    "g": 236,
    "b": 179
  },
  "hsl": {
    "h": 60,
    "s": 60,
    "l": 81.373
  },
  "oklch": {
    "l": 0.92931,
    "c": 0.07361,
    "h": 107.7
  },
  "luminance": 0.81078
}

Semantic roles & 50–950 ramp

primary
#ECECB3
secondary
#7A7AC9
accent
#1EC81E
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171613
muted
#858582

Preview Lab

Preview with #ECECB3

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

Preview Lab → · Contrast checker → · Palette generator →

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