#ECE76B#ECE76B

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

Color values

HEX#ECE76B
RGBrgb(236, 231, 107)
HSLhsl(58, 77%, 67%)
HSVhsv(58, 55%, 93%)
CMYKcmyk(0%, 2.1%, 54.7%, 7.5%)
CIE-LABlab(89.88, -14.02, 59.89)
CIE-LCHlch(89.88, 61.51, 103.17°)
OKLaboklab(90.79% -0.0422 0.1393)
OKLCHoklch(90.79% 0.146 106.8)
XYZxyz(65.8237, 76.0482, 25.1185)
Luminance0.7605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE76B #6B70EC
analogous
#ECA66B #ECE76B #B1EC6B
triadic
#ECE76B #6BECE7 #E76BEC
tetradic
#ECE76B #6BECA6 #6B70EC #EC6BB1
square
#ECE76B #6BECA6 #6B70EC #EC6BB1
split-complementary
#ECE76B #6BB1EC #A66BEC
monochromatic
#C4BD19 #E5DE35 #ECE76B #F3F0A1 #FAF9D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECE76B#FFFFFF#000000##000000
##ECE76B1.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)
#F8DF5E
Deuteranopia (green-blind)
#FBE472
Tritanopia (blue-blind)
#FBDACC
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ece76b;
/* rgb */ color: rgb(236, 231, 107);
/* oklch */ color: oklch(90.8% 0.146 106.8);
Tailwind
colors: {
  custom: {
    50: '#f5ee99',
    500: '#ece76b',
    950: '#000000',
  },
}
SCSS
$custom: #ece76b;
$custom-light: #f5ee99;
$custom-dark: #000000;
JSON
{
  "hex": "#ece76b",
  "rgb": {
    "r": 236,
    "g": 231,
    "b": 107
  },
  "hsl": {
    "h": 57.674,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.90792,
    "c": 0.14559,
    "h": 106.8
  },
  "luminance": 0.76046
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECE76B

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

Preview Lab → · Contrast checker → · Palette generator →

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