#ECE76C#ECE76C

#ECE76C is a very light, vivid yellow. Relative luminance 0.761; OKLCH L 90.8% C 0.145 H 106.8°. Best body text is #000000 at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#ECE76C
RGBrgb(236, 231, 108)
HSLhsl(58, 77%, 67%)
HSVhsv(58, 54%, 93%)
CMYKcmyk(0%, 2.1%, 54.2%, 7.5%)
CIE-LABlab(89.89, -13.94, 59.46)
CIE-LCHlch(89.89, 61.07, 103.20°)
OKLaboklab(90.8% -0.0419 0.1385)
OKLCHoklch(90.8% 0.145 106.8)
XYZxyz(65.8766, 76.0693, 25.3971)
Luminance0.7607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE76C #6C71EC
analogous
#ECA76C #ECE76C #B1EC6C
triadic
#ECE76C #6CECE7 #E76CEC
tetradic
#ECE76C #6CECA7 #6C71EC #EC6CB1
square
#ECE76C #6CECA7 #6C71EC #EC6CB1
split-complementary
#ECE76C #6CB1EC #A76CEC
monochromatic
#C4BE19 #E5DE36 #ECE76C #F3F0A2 #FAF9D8

Accessibility & contrast

On white

1.30
#ECE76C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.21
#ECE76C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE76C
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE76C#FFFFFF#000000##000000
##ECE76C1.001.3016.2116.21
#FFFFFF1.301.0021.0021.00
#00000016.2121.001.001.00
##00000016.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DF60
Deuteranopia (green-blind)
#FBE472
Tritanopia (blue-blind)
#FBDACC
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ece76c;
/* rgb */ color: rgb(236, 231, 108);
/* oklch */ color: oklch(90.8% 0.145 106.8);
Tailwind
colors: {
  custom: {
    50: '#f5ee9a',
    500: '#ece76c',
    950: '#000000',
  },
}
SCSS
$custom: #ece76c;
$custom-light: #f5ee9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ece76c",
  "rgb": {
    "r": 236,
    "g": 231,
    "b": 108
  },
  "hsl": {
    "h": 57.656,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.90803,
    "c": 0.1447,
    "h": 106.8
  },
  "luminance": 0.76067
}

Semantic roles & 50–950 ramp

primary
#ECE76C
secondary
#3A3FC2
accent
#14D90C
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #ECE76C

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

Preview Lab → · Contrast checker → · Palette generator →

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