#FDF177#FDF177

#FDF177 is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 94.4% C 0.144 H 103.7°. Best body text is #000000 at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#FDF177
RGBrgb(253, 241, 119)
HSLhsl(55, 97%, 73%)
HSVhsv(55, 53%, 99%)
CMYKcmyk(0%, 4.7%, 53%, 0.8%)
CIE-LABlab(93.94, -11.23, 59.53)
CIE-LCHlch(93.94, 60.58, 100.68°)
OKLaboklab(94.39% -0.0339 0.1395)
OKLCHoklch(94.39% 0.144 103.7)
XYZxyz(75.2954, 85.1276, 29.9142)
Luminance0.8512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF177 #7783FD
analogous
#FDAE77 #FDF177 #C6FD77
triadic
#FDF177 #77FDF1 #F177FD
tetradic
#FDF177 #77FDAE #7783FD #FD77C6
square
#FDF177 #77FDAE #7783FD #FD77C6
split-complementary
#FDF177 #77C6FD #AE77FD
monochromatic
#F6E004 #FCEB3B #FDF177 #FEF7B3 #FFFCE1

Accessibility & contrast

On white

1.17
#FDF177 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.02
#FDF177 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF177
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF177#FFFFFF#000000##000000
##FDF1771.001.1718.0218.02
#FFFFFF1.171.0021.0021.00
#00000018.0221.001.001.00
##00000018.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6B
Deuteranopia (green-blind)
#FFF07D
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fdf177;
/* rgb */ color: rgb(253, 241, 119);
/* oklch */ color: oklch(94.4% 0.144 103.7);
Tailwind
colors: {
  custom: {
    50: '#fff5a1',
    500: '#fdf177',
    950: '#000000',
  },
}
SCSS
$custom: #fdf177;
$custom-light: #fff5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf177",
  "rgb": {
    "r": 253,
    "g": 241,
    "b": 119
  },
  "hsl": {
    "h": 54.627,
    "s": 97.101,
    "l": 72.941
  },
  "oklch": {
    "l": 0.94386,
    "c": 0.14357,
    "h": 103.7
  },
  "luminance": 0.85125
}

Semantic roles & 50–950 ramp

primary
#FDF177
secondary
#3E4CDA
accent
#15E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF177

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

Preview Lab → · Contrast checker → · Palette generator →

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