#FDF77D#FDF77D

#FDF77D is a very light, vivid yellow. Relative luminance 0.889; OKLCH L 95.7% C 0.144 H 106.3°. Best body text is #000000 at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#FDF77D
RGBrgb(253, 247, 125)
HSLhsl(57, 97%, 74%)
HSVhsv(57, 51%, 99%)
CMYKcmyk(0%, 2.4%, 50.6%, 0.8%)
CIE-LABlab(95.53, -13.69, 58.67)
CIE-LCHlch(95.53, 60.25, 103.13°)
OKLaboklab(95.68% -0.0404 0.1382)
OKLCHoklch(95.68% 0.144 106.3)
XYZxyz(77.4725, 88.8870, 32.4740)
Luminance0.8889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF77D #7D83FD
analogous
#FDB77D #FDF77D #C3FD7D
triadic
#FDF77D #7DFDF7 #F77DFD
tetradic
#FDF77D #7DFDB7 #7D83FD #FD7DC3
square
#FDF77D #7DFDB7 #7D83FD #FD7DC3
split-complementary
#FDF77D #7DC3FD #B77DFD
monochromatic
#FBF004 #FCF341 #FDF77D #FEFBB9 #FFFDE1

Accessibility & contrast

On white

1.12
#FDF77D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.78
#FDF77D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF77D
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF77D#FFFFFF#000000##000000
##FDF77D1.001.1218.7818.78
#FFFFFF1.121.0021.0021.00
#00000018.7821.001.001.00
##00000018.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF72
Deuteranopia (green-blind)
#FFF583
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fdf77d;
/* rgb */ color: rgb(253, 247, 125);
/* oklch */ color: oklch(95.7% 0.144 106.3);
Tailwind
colors: {
  custom: {
    50: '#fff9a5',
    500: '#fdf77d',
    950: '#000000',
  },
}
SCSS
$custom: #fdf77d;
$custom-light: #fff9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf77d",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 125
  },
  "hsl": {
    "h": 57.188,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.95675,
    "c": 0.14398,
    "h": 106.3
  },
  "luminance": 0.88885
}

Semantic roles & 50–950 ramp

primary
#FDF77D
secondary
#434ADB
accent
#0BE600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF77D

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

Preview Lab → · Contrast checker → · Palette generator →

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