#ECEBB5#ECEBB5

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

Color values

HEX#ECEBB5
RGBrgb(236, 235, 181)
HSLhsl(59, 59%, 82%)
HSVhsv(59, 23%, 93%)
CMYKcmyk(0%, 0.4%, 23.3%, 7.5%)
CIE-LABlab(91.95, -8.15, 26.42)
CIE-LCHlch(91.95, 27.64, 107.14°)
OKLaboklab(92.77% -0.0202 0.0669)
OKLCHoklch(92.77% 0.07 106.8)
XYZxyz(72.6407, 80.5867, 55.4352)
Luminance0.8059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEBB5 #B5B6EC
analogous
#ECD0B5 #ECEBB5 #D2ECB5
triadic
#ECEBB5 #B5ECEB #EBB5EC
tetradic
#ECEBB5 #B5ECD0 #B5B6EC #ECB5D2
square
#ECEBB5 #B5ECD0 #B5B6EC #ECB5D2
split-complementary
#ECEBB5 #B5D2EC #D0B5EC
monochromatic
#D3D154 #DFDE84 #ECEBB5 #F9F8E6 #F9F8E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECEBB5#FFFFFF#000000##000000
##ECEBB51.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)
#F4E6B2
Deuteranopia (green-blind)
#F6E9B7
Tritanopia (blue-blind)
#F4E4DC
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ecebb5;
/* rgb */ color: rgb(236, 235, 181);
/* oklch */ color: oklch(92.8% 0.070 106.8);
Tailwind
colors: {
  custom: {
    50: '#f2f1cb',
    500: '#ecebb5',
    950: '#000000',
  },
}
SCSS
$custom: #ecebb5;
$custom-light: #f2f1cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ecebb5",
  "rgb": {
    "r": 236,
    "g": 235,
    "b": 181
  },
  "hsl": {
    "h": 58.909,
    "s": 59.14,
    "l": 81.765
  },
  "oklch": {
    "l": 0.92769,
    "c": 0.06991,
    "h": 106.8
  },
  "luminance": 0.80586
}

Semantic roles & 50–950 ramp

primary
#ECEBB5
secondary
#7C7EC9
accent
#22C71F
background
#FFFFFE
surface
#FEFEFA
border
#D6D6D3
text
#171613
muted
#858583

Preview Lab

Preview with #ECEBB5

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

Preview Lab → · Contrast checker → · Palette generator →

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