#FDF77F#FDF77F

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

Color values

HEX#FDF77F
RGBrgb(253, 247, 127)
HSLhsl(57, 97%, 75%)
HSVhsv(57, 50%, 99%)
CMYKcmyk(0%, 2.4%, 49.8%, 0.8%)
CIE-LABlab(95.55, -13.52, 57.78)
CIE-LCHlch(95.55, 59.35, 103.17°)
OKLaboklab(95.7% -0.0397 0.1364)
OKLCHoklch(95.7% 0.142 106.2)
XYZxyz(77.6015, 88.9387, 33.1536)
Luminance0.8894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF77F #7F85FD
analogous
#FDB87F #FDF77F #C4FD7F
triadic
#FDF77F #7FFDF7 #F77FFD
tetradic
#FDF77F #7FFDB8 #7F85FD #FD7FC4
square
#FDF77F #7FFDB8 #7F85FD #FD7FC4
split-complementary
#FDF77F #7FC4FD #B87FFD
monochromatic
#FBEF06 #FCF343 #FDF77F #FEFBBB #FFFDE1

Accessibility & contrast

On white

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

On black

18.79
#FDF77F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF77F
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF77F#FFFFFF#000000##000000
##FDF77F1.001.1218.7918.79
#FFFFFF1.121.0021.0021.00
#00000018.7921.001.001.00
##00000018.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF74
Deuteranopia (green-blind)
#FFF585
Tritanopia (blue-blind)
#FFEADC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fdf77f;
/* rgb */ color: rgb(253, 247, 127);
/* oklch */ color: oklch(95.7% 0.142 106.2);
Tailwind
colors: {
  custom: {
    50: '#fff9a7',
    500: '#fdf77f',
    950: '#000000',
  },
}
SCSS
$custom: #fdf77f;
$custom-light: #fff9a7;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf77f",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 127
  },
  "hsl": {
    "h": 57.143,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.95699,
    "c": 0.1421,
    "h": 106.2
  },
  "luminance": 0.88936
}

Semantic roles & 50–950 ramp

primary
#FDF77F
secondary
#454CDB
accent
#0BE600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FDF77F

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

Preview Lab → · Contrast checker → · Palette generator →

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