#ECE879#ECE879

#ECE879 is a very light, vivid yellow. Relative luminance 0.769; OKLCH L 91.2% C 0.134 H 106.9°. Best body text is #000000 at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#ECE879
RGBrgb(236, 232, 121)
HSLhsl(58, 75%, 70%)
HSVhsv(58, 49%, 93%)
CMYKcmyk(0%, 1.7%, 48.7%, 7.5%)
CIE-LABlab(90.29, -13.37, 53.97)
CIE-LCHlch(90.29, 55.60, 103.91°)
OKLaboklab(91.16% -0.0389 0.1279)
OKLCHoklch(91.16% 0.134 106.9)
XYZxyz(66.9015, 76.9283, 29.4099)
Luminance0.7693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE879 #797DEC
analogous
#ECAE79 #ECE879 #B7EC79
triadic
#ECE879 #79ECE8 #E879EC
tetradic
#ECE879 #79ECAE #797DEC #EC79B7
square
#ECE879 #79ECAE #797DEC #EC79B7
split-complementary
#ECE879 #79B7EC #AE79EC
monochromatic
#CDC71D #E4DF43 #ECE879 #F4F1AF #FBFAE4

Accessibility & contrast

On white

1.28
#ECE879 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.39
#ECE879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE879
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE879#FFFFFF#000000##000000
##ECE8791.001.2816.3916.39
#FFFFFF1.281.0021.0021.00
#00000016.3921.001.001.00
##00000016.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E16F
Deuteranopia (green-blind)
#FAE57E
Tritanopia (blue-blind)
#FADCCE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ece879;
/* rgb */ color: rgb(236, 232, 121);
/* oklch */ color: oklch(91.2% 0.134 106.9);
Tailwind
colors: {
  custom: {
    50: '#f4efa2',
    500: '#ece879',
    950: '#000000',
  },
}
SCSS
$custom: #ece879;
$custom-light: #f4efa2;
$custom-dark: #000000;
JSON
{
  "hex": "#ece879",
  "rgb": {
    "r": 236,
    "g": 232,
    "b": 121
  },
  "hsl": {
    "h": 57.913,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.91164,
    "c": 0.13365,
    "h": 106.9
  },
  "luminance": 0.76927
}

Semantic roles & 50–950 ramp

primary
#ECE879
secondary
#4449C5
accent
#15D70E
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #ECE879

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

Preview Lab → · Contrast checker → · Palette generator →

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