#FFEC77#FFEC77

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

Color values

HEX#FFEC77
RGBrgb(255, 236, 119)
HSLhsl(52, 100%, 73%)
HSVhsv(52, 53%, 100%)
CMYKcmyk(0%, 7.5%, 53.3%, 0%)
CIE-LABlab(92.83, -7.96, 58.28)
CIE-LCHlch(92.83, 58.82, 97.78°)
OKLaboklab(93.55% -0.0247 0.1368)
OKLCHoklch(93.55% 0.139 100.2)
XYZxyz(74.5677, 82.5856, 29.4619)
Luminance0.8258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEC77 #778AFF
analogous
#FFA877 #FFEC77 #CEFF77
triadic
#FFEC77 #77FFEC #EC77FF
tetradic
#FFEC77 #77FFA8 #778AFF #FF77CE
square
#FFEC77 #77FFA8 #778AFF #FF77CE
split-complementary
#FFEC77 #77CEFF #A877FF
monochromatic
#FCD800 #FFE33A #FFEC77 #FFF5B4 #FFFBE0

Accessibility & contrast

On white

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

On black

17.52
#FFEC77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEC77
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEC77#FFFFFF#000000##000000
##FFEC771.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffec77;
/* rgb */ color: rgb(255, 236, 119);
/* oklch */ color: oklch(93.5% 0.139 100.2);
Tailwind
colors: {
  custom: {
    50: '#fff1a1',
    500: '#ffec77',
    950: '#000000',
  },
}
SCSS
$custom: #ffec77;
$custom-light: #fff1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ffec77",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 119
  },
  "hsl": {
    "h": 51.618,
    "s": 100,
    "l": 73.333
  },
  "oklch": {
    "l": 0.93548,
    "c": 0.13897,
    "h": 100.2
  },
  "luminance": 0.82583
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFEC77

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

Preview Lab → · Contrast checker → · Palette generator →

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