#ECECA8#ECECA8

#ECECA8 is a very light, moderate yellow. Relative luminance 0.807; OKLCH L 92.7% C 0.087 H 108.0°. Best body text is #000000 at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#ECECA8
RGBrgb(236, 236, 168)
HSLhsl(60, 64%, 79%)
HSVhsv(60, 29%, 93%)
CMYKcmyk(0%, 0%, 28.8%, 7.5%)
CIE-LABlab(91.98, -10.35, 33.08)
CIE-LCHlch(91.98, 34.66, 107.38°)
OKLaboklab(92.72% -0.0268 0.0827)
OKLCHoklch(92.72% 0.087 108)
XYZxyz(71.6557, 80.6521, 48.8308)
Luminance0.8065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECECA8 #A8A8EC
analogous
#ECCAA8 #ECECA8 #CAECA8
triadic
#ECECA8 #A8ECEC #ECA8EC
tetradic
#ECECA8 #A8ECCA #A8A8EC #ECA8CA
square
#ECECA8 #A8ECCA #A8A8EC #ECA8CA
split-complementary
#ECECA8 #A8CAEC #CAA8EC
monochromatic
#D6D644 #E1E176 #ECECA8 #F7F7DA #FAFAE6

Accessibility & contrast

On white

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

On black

17.13
#ECECA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECECA8
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECECA8#FFFFFF#000000##000000
##ECECA81.001.2317.1317.13
#FFFFFF1.231.0021.0021.00
#00000017.1321.001.001.00
##00000017.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E6A3
Deuteranopia (green-blind)
#F8E9AB
Tritanopia (blue-blind)
#F6E4DA
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ececa8;
/* rgb */ color: rgb(236, 236, 168);
/* oklch */ color: oklch(92.7% 0.087 108.0);
Tailwind
colors: {
  custom: {
    50: '#f3f2c2',
    500: '#ececa8',
    950: '#000000',
  },
}
SCSS
$custom: #ececa8;
$custom-light: #f3f2c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ececa8",
  "rgb": {
    "r": 236,
    "g": 236,
    "b": 168
  },
  "hsl": {
    "h": 60,
    "s": 64.151,
    "l": 79.216
  },
  "oklch": {
    "l": 0.92718,
    "c": 0.08691,
    "h": 108
  },
  "luminance": 0.80651
}

Semantic roles & 50–950 ramp

primary
#ECECA8
secondary
#7070C9
accent
#1ACC1A
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171612
muted
#858582

Preview Lab

Preview with #ECECA8

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

Preview Lab → · Contrast checker → · Palette generator →

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