#F9F174#F9F174

#F9F174 is a very light, vivid yellow. Relative luminance 0.843; OKLCH L 94.0% C 0.146 H 105.5°. Best body text is #000000 at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#F9F174
RGBrgb(249, 241, 116)
HSLhsl(56, 92%, 72%)
HSVhsv(56, 53%, 98%)
CMYKcmyk(0%, 3.2%, 53.4%, 2.4%)
CIE-LABlab(93.59, -13.05, 60.39)
CIE-LCHlch(93.59, 61.79, 102.19°)
OKLaboklab(94.02% -0.0392 0.1411)
OKLCHoklch(94.02% 0.146 105.5)
XYZxyz(73.6768, 84.3135, 28.9127)
Luminance0.8431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F174 #747CF9
analogous
#F9AF74 #F9F174 #BFF974
triadic
#F9F174 #74F9F1 #F174F9
tetradic
#F9F174 #74F9AF #747CF9 #F974BF
square
#F9F174 #74F9AF #747CF9 #F974BF
split-complementary
#F9F174 #74BFF9 #AF74F9
monochromatic
#E9DB0A #F6EB39 #F9F174 #FCF7AF #FEFCE2

Accessibility & contrast

On white

1.18
#F9F174 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.86
#F9F174 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F174
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F174#FFFFFF#000000##000000
##F9F1741.001.1817.8617.86
#FFFFFF1.181.0021.0021.00
#00000017.8621.001.001.00
##00000017.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE968
Deuteranopia (green-blind)
#FFEF7A
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f9f174;
/* rgb */ color: rgb(249, 241, 116);
/* oklch */ color: oklch(94.0% 0.146 105.5);
Tailwind
colors: {
  custom: {
    50: '#fef59f',
    500: '#f9f174',
    950: '#000000',
  },
}
SCSS
$custom: #f9f174;
$custom-light: #fef59f;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f174",
  "rgb": {
    "r": 249,
    "g": 241,
    "b": 116
  },
  "hsl": {
    "h": 56.391,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.94019,
    "c": 0.14648,
    "h": 105.5
  },
  "luminance": 0.84311
}

Semantic roles & 50–950 ramp

primary
#F9F174
secondary
#3D46D5
accent
#0EE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F174

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

Preview Lab → · Contrast checker → · Palette generator →

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