#F9F475#F9F475

#F9F475 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#F9F475
RGBrgb(249, 244, 117)
HSLhsl(58, 92%, 72%)
HSVhsv(58, 53%, 98%)
CMYKcmyk(0%, 2%, 53%, 2.4%)
CIE-LABlab(94.37, -14.44, 60.84)
CIE-LCHlch(94.37, 62.54, 103.35°)
OKLaboklab(94.64% -0.0431 0.1422)
OKLCHoklch(94.64% 0.149 106.9)
XYZxyz(74.6306, 86.1276, 29.5192)
Luminance0.8612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F475 #757AF9
analogous
#F9B275 #F9F475 #BCF975
triadic
#F9F475 #75F9F4 #F475F9
tetradic
#F9F475 #75F9B2 #757AF9 #F975BC
square
#F9F475 #75F9B2 #757AF9 #F975BC
split-complementary
#F9F475 #75BCF9 #B275F9
monochromatic
#E9E10A #F6EF3A #F9F475 #FCF9B0 #FEFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F9F475#FFFFFF#000000##000000
##F9F4751.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)
#FFEC69
Deuteranopia (green-blind)
#FFF17C
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f9f475;
/* rgb */ color: rgb(249, 244, 117);
/* oklch */ color: oklch(94.6% 0.149 106.9);
Tailwind
colors: {
  custom: {
    50: '#fef7a0',
    500: '#f9f475',
    950: '#000000',
  },
}
SCSS
$custom: #f9f475;
$custom-light: #fef7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f475",
  "rgb": {
    "r": 249,
    "g": 244,
    "b": 117
  },
  "hsl": {
    "h": 57.727,
    "s": 91.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.94644,
    "c": 0.1486,
    "h": 106.9
  },
  "luminance": 0.86125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F9F475

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

Preview Lab → · Contrast checker → · Palette generator →

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