#F9E596#F9E596

#F9E596 is a very light, moderate yellow. Relative luminance 0.784; OKLCH L 92.1% C 0.101 H 95.6°. Best body text is #000000 at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#F9E596
RGBrgb(249, 229, 150)
HSLhsl(48, 89%, 78%)
HSVhsv(48, 40%, 98%)
CMYKcmyk(0%, 8%, 39.8%, 2.4%)
CIE-LABlab(90.95, -3.97, 40.98)
CIE-LCHlch(90.95, 41.17, 95.53°)
OKLaboklab(92.07% -0.0099 0.1004)
OKLCHoklch(92.07% 0.101 95.6)
XYZxyz(72.5928, 78.3828, 40.1537)
Luminance0.7838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E596 #96AAF9
analogous
#F9B396 #F9E596 #DBF996
triadic
#F9E596 #96F9E5 #E596F9
tetradic
#F9E596 #96F9B3 #96AAF9 #F996DB
square
#F9E596 #96F9B3 #96AAF9 #F996DB
split-complementary
#F9E596 #96DBF9 #B396F9
monochromatic
#F2C822 #F6D75C #F9E596 #FCF3D0 #FDF8E2

Accessibility & contrast

On white

1.26
#F9E596 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.68
#F9E596 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E596
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E596#FFFFFF#000000##000000
##F9E5961.001.2616.6816.68
#FFFFFF1.261.0021.0021.00
#00000016.6821.001.001.00
##00000016.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E190
Deuteranopia (green-blind)
#FAE899
Tritanopia (blue-blind)
#FFDAD1
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f9e596;
/* rgb */ color: rgb(249, 229, 150);
/* oklch */ color: oklch(92.1% 0.101 95.6);
Tailwind
colors: {
  custom: {
    50: '#fdedb6',
    500: '#f9e596',
    950: '#000000',
  },
}
SCSS
$custom: #f9e596;
$custom-light: #fdedb6;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e596",
  "rgb": {
    "r": 249,
    "g": 229,
    "b": 150
  },
  "hsl": {
    "h": 47.879,
    "s": 89.189,
    "l": 78.235
  },
  "oklch": {
    "l": 0.92068,
    "c": 0.10093,
    "h": 95.6
  },
  "luminance": 0.7838
}

Semantic roles & 50–950 ramp

primary
#F9E596
secondary
#5A74D9
accent
#2EE600
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#181611
muted
#868481

Preview Lab

Preview with #F9E596

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

Preview Lab → · Contrast checker → · Palette generator →

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