#F9E173#F9E173

#F9E173 is a very light, vivid yellow. Relative luminance 0.752; OKLCH L 90.8% C 0.133 H 97.2°. Best body text is #000000 at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#F9E173
RGBrgb(249, 225, 115)
HSLhsl(49, 92%, 71%)
HSVhsv(49, 54%, 98%)
CMYKcmyk(0%, 9.6%, 53.8%, 2.4%)
CIE-LABlab(89.50, -5.18, 56.10)
CIE-LCHlch(89.50, 56.33, 95.28°)
OKLaboklab(90.77% -0.0167 0.1317)
OKLCHoklch(90.77% 0.133 97.2)
XYZxyz(69.0891, 75.2308, 27.0981)
Luminance0.7523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E173 #738BF9
analogous
#F99E73 #F9E173 #CEF973
triadic
#F9E173 #73F9E1 #E173F9
tetradic
#F9E173 #73F99E #738BF9 #F973CE
square
#F9E173 #73F99E #738BF9 #F973CE
split-complementary
#F9E173 #73CEF9 #9E73F9
monochromatic
#E8C00A #F6D438 #F9E173 #FCEEAE #FEF9E2

Accessibility & contrast

On white

1.31
#F9E173 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.05
#F9E173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E173
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E173#FFFFFF#000000##000000
##F9E1731.001.3116.0516.05
#FFFFFF1.311.0021.0021.00
#00000016.0521.001.001.00
##00000016.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC69
Deuteranopia (green-blind)
#FAE578
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f9e173;
/* rgb */ color: rgb(249, 225, 115);
/* oklch */ color: oklch(90.8% 0.133 97.2);
Tailwind
colors: {
  custom: {
    50: '#feea9e',
    500: '#f9e173',
    950: '#000000',
  },
}
SCSS
$custom: #f9e173;
$custom-light: #feea9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e173",
  "rgb": {
    "r": 249,
    "g": 225,
    "b": 115
  },
  "hsl": {
    "h": 49.254,
    "s": 91.781,
    "l": 71.373
  },
  "oklch": {
    "l": 0.90774,
    "c": 0.13279,
    "h": 97.2
  },
  "luminance": 0.75228
}

Semantic roles & 50–950 ramp

primary
#F9E173
secondary
#3C57D4
accent
#29E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F9E173

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

Preview Lab → · Contrast checker → · Palette generator →

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