#F9E973#F9E973

#F9E973 is a very light, vivid yellow. Relative luminance 0.797; OKLCH L 92.4% C 0.140 H 101.7°. Best body text is #000000 at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#F9E973
RGBrgb(249, 233, 115)
HSLhsl(53, 92%, 71%)
HSVhsv(53, 54%, 98%)
CMYKcmyk(0%, 6.4%, 53.8%, 2.4%)
CIE-LABlab(91.53, -9.18, 58.46)
CIE-LCHlch(91.53, 59.18, 98.92°)
OKLaboklab(92.38% -0.0283 0.1369)
OKLCHoklch(92.38% 0.14 101.7)
XYZxyz(71.3027, 79.6580, 27.8360)
Luminance0.7965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E973 #7383F9
analogous
#F9A673 #F9E973 #C6F973
triadic
#F9E973 #73F9E9 #E973F9
tetradic
#F9E973 #73F9A6 #7383F9 #F973C6
square
#F9E973 #73F9A6 #7383F9 #F973C6
split-complementary
#F9E973 #73C6F9 #A673F9
monochromatic
#E8CD0A #F6E038 #F9E973 #FCF2AE #FEFAE2

Accessibility & contrast

On white

1.24
#F9E973 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.93
#F9E973 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E973
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E973#FFFFFF#000000##000000
##F9E9731.001.2416.9316.93
#FFFFFF1.241.0021.0021.00
#00000016.9321.001.001.00
##00000016.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE368
Deuteranopia (green-blind)
#FFEA79
Tritanopia (blue-blind)
#FFDBCE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f9e973;
/* rgb */ color: rgb(249, 233, 115);
/* oklch */ color: oklch(92.4% 0.140 101.7);
Tailwind
colors: {
  custom: {
    50: '#feef9e',
    500: '#f9e973',
    950: '#000000',
  },
}
SCSS
$custom: #f9e973;
$custom-light: #feef9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e973",
  "rgb": {
    "r": 249,
    "g": 233,
    "b": 115
  },
  "hsl": {
    "h": 52.836,
    "s": 91.781,
    "l": 71.373
  },
  "oklch": {
    "l": 0.92383,
    "c": 0.13975,
    "h": 101.7
  },
  "luminance": 0.79655
}

Semantic roles & 50–950 ramp

primary
#F9E973
secondary
#3C4ED4
accent
#1BE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F9E973

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

Preview Lab → · Contrast checker → · Palette generator →

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