#FDF173#FDF173

#FDF173 is a very light, vivid yellow. Relative luminance 0.850; OKLCH L 94.3% C 0.147 H 103.9°. Best body text is #000000 at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#FDF173
RGBrgb(253, 241, 115)
HSLhsl(55, 97%, 72%)
HSVhsv(55, 55%, 99%)
CMYKcmyk(0%, 4.7%, 54.5%, 0.8%)
CIE-LABlab(93.90, -11.54, 61.28)
CIE-LCHlch(93.90, 62.36, 100.66°)
OKLaboklab(94.34% -0.0352 0.1429)
OKLCHoklch(94.34% 0.147 103.9)
XYZxyz(75.0602, 85.0336, 28.6756)
Luminance0.8503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF173 #737FFD
analogous
#FDAC73 #FDF173 #C4FD73
triadic
#FDF173 #73FDF1 #F173FD
tetradic
#FDF173 #73FDAC #737FFD #FD73C4
square
#FDF173 #73FDAC #737FFD #FD73C4
split-complementary
#FDF173 #73C4FD #AC73FD
monochromatic
#F2DD03 #FCEB37 #FDF173 #FEF7AF #FFFCE1

Accessibility & contrast

On white

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

On black

18.01
#FDF173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF173
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF173#FFFFFF#000000##000000
##FDF1731.001.1718.0118.01
#FFFFFF1.171.0021.0021.00
#00000018.0121.001.001.00
##00000018.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA66
Deuteranopia (green-blind)
#FFF079
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fdf173;
/* rgb */ color: rgb(253, 241, 115);
/* oklch */ color: oklch(94.3% 0.147 103.9);
Tailwind
colors: {
  custom: {
    50: '#fff59f',
    500: '#fdf173',
    950: '#000000',
  },
}
SCSS
$custom: #fdf173;
$custom-light: #fff59f;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf173",
  "rgb": {
    "r": 253,
    "g": 241,
    "b": 115
  },
  "hsl": {
    "h": 54.783,
    "s": 97.183,
    "l": 72.157
  },
  "oklch": {
    "l": 0.94341,
    "c": 0.14715,
    "h": 103.9
  },
  "luminance": 0.85031
}

Semantic roles & 50–950 ramp

primary
#FDF173
secondary
#3B48DA
accent
#14E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF173

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

Preview Lab → · Contrast checker → · Palette generator →

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