#FFEC76#FFEC76

#FFEC76 is a very light, vivid yellow. Relative luminance 0.826; OKLCH L 93.5% C 0.140 H 100.3°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#FFEC76
RGBrgb(255, 236, 118)
HSLhsl(52, 100%, 73%)
HSVhsv(52, 54%, 100%)
CMYKcmyk(0%, 7.5%, 53.7%, 0%)
CIE-LABlab(92.82, -8.04, 58.73)
CIE-LCHlch(92.82, 59.27, 97.79°)
OKLaboklab(93.54% -0.025 0.1376)
OKLCHoklch(93.54% 0.14 100.3)
XYZxyz(74.5080, 82.5617, 29.1473)
Luminance0.8256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEC76 #7689FF
analogous
#FFA776 #FFEC76 #CDFF76
triadic
#FFEC76 #76FFEC #EC76FF
tetradic
#FFEC76 #76FFA7 #7689FF #FF76CD
square
#FFEC76 #76FFA7 #7689FF #FF76CD
split-complementary
#FFEC76 #76CDFF #A776FF
monochromatic
#FBD800 #FFE439 #FFEC76 #FFF4B3 #FFFBE0

Accessibility & contrast

On white

1.20
#FFEC76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.51
#FFEC76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEC76
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEC76#FFFFFF#000000##000000
##FFEC761.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE66B
Deuteranopia (green-blind)
#FFEE7B
Tritanopia (blue-blind)
#FFDED1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ffec76;
/* rgb */ color: rgb(255, 236, 118);
/* oklch */ color: oklch(93.5% 0.140 100.3);
Tailwind
colors: {
  custom: {
    50: '#fff1a0',
    500: '#ffec76',
    950: '#000000',
  },
}
SCSS
$custom: #ffec76;
$custom-light: #fff1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ffec76",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 118
  },
  "hsl": {
    "h": 51.679,
    "s": 100,
    "l": 73.137
  },
  "oklch": {
    "l": 0.93537,
    "c": 0.13988,
    "h": 100.3
  },
  "luminance": 0.82559
}

Semantic roles & 50–950 ramp

primary
#FFEC76
secondary
#3D53DD
accent
#20E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FFEC76

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

Preview Lab → · Contrast checker → · Palette generator →

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