#FDF671#FDF671

#FDF671 is a very light, vivid yellow. Relative luminance 0.880; OKLCH L 95.3% C 0.154 H 106.2°. Best body text is #000000 at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#FDF671
RGBrgb(253, 246, 113)
HSLhsl(57, 97%, 72%)
HSVhsv(57, 55%, 99%)
CMYKcmyk(0%, 2.8%, 55.3%, 0.8%)
CIE-LABlab(95.16, -14.13, 63.60)
CIE-LCHlch(95.16, 65.15, 102.53°)
OKLaboklab(95.34% -0.0429 0.1476)
OKLCHoklch(95.34% 0.154 106.2)
XYZxyz(76.4467, 87.9888, 28.5762)
Luminance0.8799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF671 #7178FD
analogous
#FDB071 #FDF671 #BEFD71
triadic
#FDF671 #71FDF6 #F671FD
tetradic
#FDF671 #71FDB0 #7178FD #FD71BE
square
#FDF671 #71FDB0 #7178FD #FD71BE
split-complementary
#FDF671 #71BEFD #B071FD
monochromatic
#F0E403 #FCF235 #FDF671 #FEFAAD #FFFDE1

Accessibility & contrast

On white

1.13
#FDF671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.60
#FDF671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF671
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF671#FFFFFF#000000##000000
##FDF6711.001.1318.6018.60
#FFFFFF1.131.0021.0021.00
#00000018.6021.001.001.00
##00000018.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE63
Deuteranopia (green-blind)
#FFF478
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fdf671;
/* rgb */ color: rgb(253, 246, 113);
/* oklch */ color: oklch(95.3% 0.154 106.2);
Tailwind
colors: {
  custom: {
    50: '#fff89e',
    500: '#fdf671',
    950: '#000000',
  },
}
SCSS
$custom: #fdf671;
$custom-light: #fff89e;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf671",
  "rgb": {
    "r": 253,
    "g": 246,
    "b": 113
  },
  "hsl": {
    "h": 57,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.95336,
    "c": 0.15373,
    "h": 106.2
  },
  "luminance": 0.87986
}

Semantic roles & 50–950 ramp

primary
#FDF671
secondary
#3941D9
accent
#0BE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF671

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

Preview Lab → · Contrast checker → · Palette generator →

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