#FFE877#FFE877

#FFE877 is a very light, vivid yellow. Relative luminance 0.803; OKLCH L 92.7% C 0.136 H 98.0°. Best body text is #000000 at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#FFE877
RGBrgb(255, 232, 119)
HSLhsl(50, 100%, 73%)
HSVhsv(50, 53%, 100%)
CMYKcmyk(0%, 9%, 53.3%, 0%)
CIE-LABlab(91.82, -5.97, 57.10)
CIE-LCHlch(91.82, 57.41, 95.96°)
OKLaboklab(92.75% -0.0189 0.1342)
OKLCHoklch(92.75% 0.136 98)
XYZxyz(73.4289, 80.3081, 29.0823)
Luminance0.8031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE877 #778EFF
analogous
#FFA477 #FFE877 #D2FF77
triadic
#FFE877 #77FFE8 #E877FF
tetradic
#FFE877 #77FFA4 #778EFF #FF77D2
square
#FFE877 #77FFA4 #778EFF #FF77D2
split-complementary
#FFE877 #77D2FF #A477FF
monochromatic
#FCD100 #FFDE3A #FFE877 #FFF2B4 #FFFAE0

Accessibility & contrast

On white

1.23
#FFE877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.06
#FFE877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE877
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE877#FFFFFF#000000##000000
##FFE8771.001.2317.0617.06
#FFFFFF1.231.0021.0021.00
#00000017.0621.001.001.00
##00000017.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE36C
Deuteranopia (green-blind)
#FFEB7C
Tritanopia (blue-blind)
#FFDACE
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ffe877;
/* rgb */ color: rgb(255, 232, 119);
/* oklch */ color: oklch(92.7% 0.136 98.0);
Tailwind
colors: {
  custom: {
    50: '#ffefa1',
    500: '#ffe877',
    950: '#000000',
  },
}
SCSS
$custom: #ffe877;
$custom-light: #ffefa1;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe877",
  "rgb": {
    "r": 255,
    "g": 232,
    "b": 119
  },
  "hsl": {
    "h": 49.853,
    "s": 100,
    "l": 73.333
  },
  "oklch": {
    "l": 0.92748,
    "c": 0.13553,
    "h": 98
  },
  "luminance": 0.80305
}

Semantic roles & 50–950 ramp

primary
#FFE877
secondary
#3D58DD
accent
#27E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FFE877

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

Preview Lab → · Contrast checker → · Palette generator →

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