#FDF672#FDF672

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

Color values

HEX#FDF672
RGBrgb(253, 246, 114)
HSLhsl(57, 97%, 72%)
HSVhsv(57, 55%, 99%)
CMYKcmyk(0%, 2.8%, 54.9%, 0.8%)
CIE-LABlab(95.17, -14.06, 63.17)
CIE-LCHlch(95.17, 64.72, 102.55°)
OKLaboklab(95.35% -0.0425 0.1468)
OKLCHoklch(95.35% 0.153 106.2)
XYZxyz(76.5033, 88.0114, 28.8743)
Luminance0.8801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF672 #7279FD
analogous
#FDB072 #FDF672 #BFFD72
triadic
#FDF672 #72FDF6 #F672FD
tetradic
#FDF672 #72FDB0 #7279FD #FD72BF
square
#FDF672 #72FDB0 #7279FD #FD72BF
split-complementary
#FDF672 #72BFFD #B072FD
monochromatic
#F1E503 #FCF236 #FDF672 #FEFAAE #FFFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FDF672#FFFFFF#000000##000000
##FDF6721.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)
#FFEE65
Deuteranopia (green-blind)
#FFF479
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fdf672;
/* rgb */ color: rgb(253, 246, 114);
/* oklch */ color: oklch(95.3% 0.153 106.2);
Tailwind
colors: {
  custom: {
    50: '#fff89e',
    500: '#fdf672',
    950: '#000000',
  },
}
SCSS
$custom: #fdf672;
$custom-light: #fff89e;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf672",
  "rgb": {
    "r": 253,
    "g": 246,
    "b": 114
  },
  "hsl": {
    "h": 56.978,
    "s": 97.203,
    "l": 71.961
  },
  "oklch": {
    "l": 0.95346,
    "c": 0.15286,
    "h": 106.2
  },
  "luminance": 0.88009
}

Semantic roles & 50–950 ramp

primary
#FDF672
secondary
#3A42D9
accent
#0CE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF672

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

Preview Lab → · Contrast checker → · Palette generator →

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