#F9F474#F9F474

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

Color values

HEX#F9F474
RGBrgb(249, 244, 116)
HSLhsl(58, 92%, 72%)
HSVhsv(58, 53%, 98%)
CMYKcmyk(0%, 2%, 53.4%, 2.4%)
CIE-LABlab(94.36, -14.52, 61.28)
CIE-LCHlch(94.36, 62.98, 103.33°)
OKLaboklab(94.63% -0.0434 0.143)
OKLCHoklch(94.63% 0.149 106.9)
XYZxyz(74.5721, 86.1042, 29.2112)
Luminance0.8610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F474 #7479F9
analogous
#F9B274 #F9F474 #BCF974
triadic
#F9F474 #74F9F4 #F474F9
tetradic
#F9F474 #74F9B2 #7479F9 #F974BC
square
#F9F474 #74F9B2 #7479F9 #F974BC
split-complementary
#F9F474 #74BCF9 #B274F9
monochromatic
#E9E00A #F6EF39 #F9F474 #FCF9AF #FEFDE2

Accessibility & contrast

On white

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

On black

18.22
#F9F474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F474
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F474#FFFFFF#000000##000000
##F9F4741.001.1518.2218.22
#FFFFFF1.151.0021.0021.00
#00000018.2221.001.001.00
##00000018.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9f474;
/* rgb */ color: rgb(249, 244, 116);
/* oklch */ color: oklch(94.6% 0.149 106.9);
Tailwind
colors: {
  custom: {
    50: '#fef7a0',
    500: '#f9f474',
    950: '#000000',
  },
}
SCSS
$custom: #f9f474;
$custom-light: #fef7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f474",
  "rgb": {
    "r": 249,
    "g": 244,
    "b": 116
  },
  "hsl": {
    "h": 57.744,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.94632,
    "c": 0.14949,
    "h": 106.9
  },
  "luminance": 0.86102
}

Semantic roles & 50–950 ramp

primary
#F9F474
secondary
#3D42D5
accent
#09E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F474

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

Preview Lab → · Contrast checker → · Palette generator →

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