#F9F697#F9F697

#F9F697 is a very light, moderate yellow. Relative luminance 0.883; OKLCH L 95.5% C 0.117 H 106.8°. Best body text is #000000 at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#F9F697
RGBrgb(249, 246, 151)
HSLhsl(58, 89%, 78%)
HSVhsv(58, 39%, 98%)
CMYKcmyk(0%, 1.2%, 39.4%, 2.4%)
CIE-LABlab(95.28, -12.33, 46.02)
CIE-LCHlch(95.28, 47.64, 105.00°)
OKLaboklab(95.5% -0.0339 0.112)
OKLCHoklch(95.5% 0.117 106.8)
XYZxyz(77.6098, 88.2874, 42.2250)
Luminance0.8829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F697 #979AF9
analogous
#F9C597 #F9F697 #CBF997
triadic
#F9F697 #97F9F6 #F697F9
tetradic
#F9F697 #97F9C5 #979AF9 #F997CB
square
#F9F697 #97F9C5 #979AF9 #F997CB
split-complementary
#F9F697 #97CBF9 #C597F9
monochromatic
#F2EC23 #F6F15D #F9F697 #FCFBD1 #FDFCE2

Accessibility & contrast

On white

1.13
#F9F697 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.66
#F9F697 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F697
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F697#FFFFFF#000000##000000
##F9F6971.001.1318.6618.66
#FFFFFF1.131.0021.0021.00
#00000018.6621.001.001.00
##00000018.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF90
Deuteranopia (green-blind)
#FFF39B
Tritanopia (blue-blind)
#FFEBDF
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f9f697;
/* rgb */ color: rgb(249, 246, 151);
/* oklch */ color: oklch(95.5% 0.117 106.8);
Tailwind
colors: {
  custom: {
    50: '#fdf9b7',
    500: '#f9f697',
    950: '#000000',
  },
}
SCSS
$custom: #f9f697;
$custom-light: #fdf9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f697",
  "rgb": {
    "r": 249,
    "g": 246,
    "b": 151
  },
  "hsl": {
    "h": 58.163,
    "s": 89.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.95502,
    "c": 0.11699,
    "h": 106.8
  },
  "luminance": 0.88286
}

Semantic roles & 50–950 ramp

primary
#F9F697
secondary
#5B5FD9
accent
#07E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #F9F697

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

Preview Lab → · Contrast checker → · Palette generator →

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