#F9F472#F9F472

#F9F472 is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.6% C 0.151 H 106.9°. Best body text is #000000 at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#F9F472
RGBrgb(249, 244, 114)
HSLhsl(58, 92%, 71%)
HSVhsv(58, 54%, 98%)
CMYKcmyk(0%, 2%, 54.2%, 2.4%)
CIE-LABlab(94.34, -14.67, 62.14)
CIE-LCHlch(94.34, 63.85, 103.28°)
OKLaboklab(94.61% -0.0441 0.1447)
OKLCHoklch(94.61% 0.151 106.9)
XYZxyz(74.4570, 86.0582, 28.6051)
Luminance0.8606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F472 #7277F9
analogous
#F9B072 #F9F472 #BAF972
triadic
#F9F472 #72F9F4 #F472F9
tetradic
#F9F472 #72F9B0 #7277F9 #F972BA
square
#F9F472 #72F9B0 #7277F9 #F972BA
split-complementary
#F9F472 #72BAF9 #B072F9
monochromatic
#E7DF0A #F7EF37 #F9F472 #FBF9AD #FEFDE2

Accessibility & contrast

On white

1.15
#F9F472 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.21
#F9F472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F472
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F472#FFFFFF#000000##000000
##F9F4721.001.1518.2118.21
#FFFFFF1.151.0021.0021.00
#00000018.2121.001.001.00
##00000018.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC65
Deuteranopia (green-blind)
#FFF179
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f9f472;
/* rgb */ color: rgb(249, 244, 114);
/* oklch */ color: oklch(94.6% 0.151 106.9);
Tailwind
colors: {
  custom: {
    50: '#fef79e',
    500: '#f9f472',
    950: '#000000',
  },
}
SCSS
$custom: #f9f472;
$custom-light: #fef79e;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f472",
  "rgb": {
    "r": 249,
    "g": 244,
    "b": 114
  },
  "hsl": {
    "h": 57.778,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.9461,
    "c": 0.15125,
    "h": 106.9
  },
  "luminance": 0.86056
}

Semantic roles & 50–950 ramp

primary
#F9F472
secondary
#3B41D4
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F472

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

Preview Lab → · Contrast checker → · Palette generator →

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