#ECEB8A#ECEB8A

#ECEB8A is a very light, moderate yellow. Relative luminance 0.791; OKLCH L 92.0% C 0.120 H 108.0°. Best body text is #000000 at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#ECEB8A
RGBrgb(236, 235, 138)
HSLhsl(59, 72%, 73%)
HSVhsv(59, 42%, 93%)
CMYKcmyk(0%, 0.4%, 41.5%, 7.5%)
CIE-LABlab(91.27, -13.25, 47.07)
CIE-LCHlch(91.27, 48.90, 105.72°)
OKLaboklab(92.01% -0.037 0.1138)
OKLCHoklch(92.01% 0.12 108)
XYZxyz(68.8890, 79.0860, 35.6760)
Luminance0.7909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEB8A #8A8BEC
analogous
#ECBA8A #ECEB8A #BCEC8A
triadic
#ECEB8A #8AECEB #EB8AEC
tetradic
#ECEB8A #8AECBA #8A8BEC #EC8ABC
square
#ECEB8A #8AECBA #8A8BEC #EC8ABC
split-complementary
#ECEB8A #8ABCEC #BA8AEC
monochromatic
#D8D723 #E3E255 #ECEB8A #F5F4BF #FBFBE5

Accessibility & contrast

On white

1.25
#ECEB8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.82
#ECEB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEB8A
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEB8A#FFFFFF#000000##000000
##ECEB8A1.001.2516.8216.82
#FFFFFF1.251.0021.0021.00
#00000016.8221.001.001.00
##00000016.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E482
Deuteranopia (green-blind)
#FBE88E
Tritanopia (blue-blind)
#F9E0D4
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #eceb8a;
/* rgb */ color: rgb(236, 235, 138);
/* oklch */ color: oklch(92.0% 0.120 108.0);
Tailwind
colors: {
  custom: {
    50: '#f4f1ae',
    500: '#eceb8a',
    950: '#000000',
  },
}
SCSS
$custom: #eceb8a;
$custom-light: #f4f1ae;
$custom-dark: #000000;
JSON
{
  "hex": "#eceb8a",
  "rgb": {
    "r": 236,
    "g": 235,
    "b": 138
  },
  "hsl": {
    "h": 59.388,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.92014,
    "c": 0.11964,
    "h": 108
  },
  "luminance": 0.79085
}

Semantic roles & 50–950 ramp

primary
#ECEB8A
secondary
#5455C7
accent
#13D411
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #ECEB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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