#ECECA7#ECECA7

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

Color values

HEX#ECECA7
RGBrgb(236, 236, 167)
HSLhsl(60, 64%, 79%)
HSVhsv(60, 29%, 93%)
CMYKcmyk(0%, 0%, 29.2%, 7.5%)
CIE-LABlab(91.96, -10.48, 33.56)
CIE-LCHlch(91.96, 35.16, 107.33°)
OKLaboklab(92.7% -0.0272 0.0838)
OKLCHoklch(92.7% 0.088 108)
XYZxyz(71.5629, 80.6149, 48.3421)
Luminance0.8061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECECA7 #A7A7EC
analogous
#ECCAA7 #ECECA7 #CAECA7
triadic
#ECECA7 #A7ECEC #ECA7EC
tetradic
#ECECA7 #A7ECCA #A7A7EC #ECA7CA
square
#ECECA7 #A7ECCA #A7A7EC #ECA7CA
split-complementary
#ECECA7 #A7CAEC #CAA7EC
monochromatic
#D6D642 #E1E175 #ECECA7 #F7F7D9 #FAFAE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECECA7#FFFFFF#000000##000000
##ECECA71.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)
#F7E6A2
Deuteranopia (green-blind)
#F8E9AA
Tritanopia (blue-blind)
#F6E4DA
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ececa7;
/* rgb */ color: rgb(236, 236, 167);
/* oklch */ color: oklch(92.7% 0.088 108.0);
Tailwind
colors: {
  custom: {
    50: '#f3f2c1',
    500: '#ececa7',
    950: '#000000',
  },
}
SCSS
$custom: #ececa7;
$custom-light: #f3f2c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ececa7",
  "rgb": {
    "r": 236,
    "g": 236,
    "b": 167
  },
  "hsl": {
    "h": 60,
    "s": 64.486,
    "l": 79.02
  },
  "oklch": {
    "l": 0.92699,
    "c": 0.0881,
    "h": 108
  },
  "luminance": 0.80614
}

Semantic roles & 50–950 ramp

primary
#ECECA7
secondary
#6F6FC8
accent
#19CC19
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171612
muted
#858582

Preview Lab

Preview with #ECECA7

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

Preview Lab → · Contrast checker → · Palette generator →

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