#F9F596#F9F596

#F9F596 is a very light, moderate yellow. Relative luminance 0.876; OKLCH L 95.3% C 0.117 H 106.3°. Best body text is #000000 at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#F9F596
RGBrgb(249, 245, 150)
HSLhsl(58, 89%, 78%)
HSVhsv(58, 40%, 98%)
CMYKcmyk(0%, 1.6%, 39.8%, 2.4%)
CIE-LABlab(95.01, -11.94, 46.16)
CIE-LCHlch(95.01, 47.68, 104.50°)
OKLaboklab(95.28% -0.0329 0.1123)
OKLCHoklch(95.28% 0.117 106.3)
XYZxyz(77.2256, 87.6483, 41.6980)
Luminance0.8765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F596 #969AF9
analogous
#F9C396 #F9F596 #CBF996
triadic
#F9F596 #96F9F5 #F596F9
tetradic
#F9F596 #96F9C3 #969AF9 #F996CB
square
#F9F596 #96F9C3 #969AF9 #F996CB
split-complementary
#F9F596 #96CBF9 #C396F9
monochromatic
#F2EA22 #F6EF5C #F9F596 #FCFBD0 #FDFCE2

Accessibility & contrast

On white

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

On black

18.53
#F9F596 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F596
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F596#FFFFFF#000000##000000
##F9F5961.001.1318.5318.53
#FFFFFF1.131.0021.0021.00
#00000018.5321.001.001.00
##00000018.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE8F
Deuteranopia (green-blind)
#FFF39A
Tritanopia (blue-blind)
#FFEADE
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f9f596;
/* rgb */ color: rgb(249, 245, 150);
/* oklch */ color: oklch(95.3% 0.117 106.3);
Tailwind
colors: {
  custom: {
    50: '#fdf8b6',
    500: '#f9f596',
    950: '#000000',
  },
}
SCSS
$custom: #f9f596;
$custom-light: #fdf8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f596",
  "rgb": {
    "r": 249,
    "g": 245,
    "b": 150
  },
  "hsl": {
    "h": 57.576,
    "s": 89.189,
    "l": 78.235
  },
  "oklch": {
    "l": 0.95283,
    "c": 0.11697,
    "h": 106.3
  },
  "luminance": 0.87647
}

Semantic roles & 50–950 ramp

primary
#F9F596
secondary
#5A5FD9
accent
#09E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #F9F596

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

Preview Lab → · Contrast checker → · Palette generator →

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