#FDF877#FDF877

#FDF877 is a very light, vivid yellow. Relative luminance 0.893; OKLCH L 95.8% C 0.150 H 106.9°. Best body text is #000000 at 18.87:1 contrast (WCAG AA passes).

Color values

HEX#FDF877
RGBrgb(253, 248, 119)
HSLhsl(58, 97%, 73%)
HSVhsv(58, 53%, 99%)
CMYKcmyk(0%, 2%, 53%, 0.8%)
CIE-LABlab(95.73, -14.65, 61.60)
CIE-LCHlch(95.73, 63.32, 103.38°)
OKLaboklab(95.81% -0.0437 0.144)
OKLCHoklch(95.81% 0.15 106.9)
XYZxyz(77.4073, 89.3516, 30.6182)
Luminance0.8935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF877 #777CFD
analogous
#FDB577 #FDF877 #BFFD77
triadic
#FDF877 #77FDF8 #F877FD
tetradic
#FDF877 #77FDB5 #777CFD #FD77BF
square
#FDF877 #77FDB5 #777CFD #FD77BF
split-complementary
#FDF877 #77BFFD #B577FD
monochromatic
#F6ED04 #FCF53B #FDF877 #FEFBB3 #FFFDE1

Accessibility & contrast

On white

1.11
#FDF877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.87
#FDF877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF877
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF877#FFFFFF#000000##000000
##FDF8771.001.1118.8718.87
#FFFFFF1.111.0021.0021.00
#00000018.8721.001.001.00
##00000018.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF06A
Deuteranopia (green-blind)
#FFF57E
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fdf877;
/* rgb */ color: rgb(253, 248, 119);
/* oklch */ color: oklch(95.8% 0.150 106.9);
Tailwind
colors: {
  custom: {
    50: '#fffaa2',
    500: '#fdf877',
    950: '#000000',
  },
}
SCSS
$custom: #fdf877;
$custom-light: #fffaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf877",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 119
  },
  "hsl": {
    "h": 57.761,
    "s": 97.101,
    "l": 72.941
  },
  "oklch": {
    "l": 0.95809,
    "c": 0.15047,
    "h": 106.9
  },
  "luminance": 0.89349
}

Semantic roles & 50–950 ramp

primary
#FDF877
secondary
#3E44DA
accent
#09E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF877

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

Preview Lab → · Contrast checker → · Palette generator →

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