#F9F799#F9F799

#F9F799 is a very light, moderate yellow. Relative luminance 0.890; OKLCH L 95.7% C 0.116 H 107.3°. Best body text is #000000 at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#F9F799
RGBrgb(249, 247, 153)
HSLhsl(59, 89%, 79%)
HSVhsv(59, 39%, 98%)
CMYKcmyk(0%, 0.8%, 38.6%, 2.4%)
CIE-LABlab(95.56, -12.61, 45.40)
CIE-LCHlch(95.56, 47.12, 105.52°)
OKLaboklab(95.74% -0.0346 0.1107)
OKLCHoklch(95.74% 0.116 107.3)
XYZxyz(78.0786, 88.9628, 43.1893)
Luminance0.8896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F799 #999BF9
analogous
#F9C799 #F9F799 #CBF999
triadic
#F9F799 #99F9F7 #F799F9
tetradic
#F9F799 #99F9C7 #999BF9 #F999CB
square
#F9F799 #99F9C7 #999BF9 #F999CB
split-complementary
#F9F799 #99CBF9 #C799F9
monochromatic
#F2EE25 #F6F25F #F9F799 #FCFCD3 #FDFDE2

Accessibility & contrast

On white

1.12
#F9F799 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.79
#F9F799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F799
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F799#FFFFFF#000000##000000
##F9F7991.001.1218.7918.79
#FFFFFF1.121.0021.0021.00
#00000018.7921.001.001.00
##00000018.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF092
Deuteranopia (green-blind)
#FFF49D
Tritanopia (blue-blind)
#FFECE0
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f9f799;
/* rgb */ color: rgb(249, 247, 153);
/* oklch */ color: oklch(95.7% 0.116 107.3);
Tailwind
colors: {
  custom: {
    50: '#fcf9b8',
    500: '#f9f799',
    950: '#000000',
  },
}
SCSS
$custom: #f9f799;
$custom-light: #fcf9b8;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f799",
  "rgb": {
    "r": 249,
    "g": 247,
    "b": 153
  },
  "hsl": {
    "h": 58.75,
    "s": 88.889,
    "l": 78.824
  },
  "oklch": {
    "l": 0.95735,
    "c": 0.11595,
    "h": 107.3
  },
  "luminance": 0.88961
}

Semantic roles & 50–950 ramp

primary
#F9F799
secondary
#5D60D9
accent
#05E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #F9F799

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

Preview Lab → · Contrast checker → · Palette generator →

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