#F9D95F#F9D95F

#F9D95F is a very light, vivid yellow. Relative luminance 0.706; OKLCH L 89.0% C 0.144 H 94.6°. Best body text is #000000 at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#F9D95F
RGBrgb(249, 217, 95)
HSLhsl(48, 93%, 67%)
HSVhsv(48, 62%, 98%)
CMYKcmyk(0%, 12.9%, 61.8%, 2.4%)
CIE-LABlab(87.29, -2.56, 62.57)
CIE-LCHlch(87.29, 62.62, 92.34°)
OKLaboklab(88.96% -0.0115 0.1433)
OKLCHoklch(88.96% 0.144 94.6)
XYZxyz(65.9483, 70.5950, 20.9767)
Luminance0.7059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D95F #5F7FF9
analogous
#F98C5F #F9D95F #CCF95F
triadic
#F9D95F #5FF9D9 #D95FF9
tetradic
#F9D95F #5FF98C #5F7FF9 #F95FCC
square
#F9D95F #5FF98C #5F7FF9 #F95FCC
split-complementary
#F9D95F #5FCCF9 #8C5FF9
monochromatic
#D6AB08 #F7CB24 #F9D95F #FBE79A #FDF5D5

Accessibility & contrast

On white

1.39
#F9D95F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.12
#F9D95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D95F
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D95F#FFFFFF#000000##000000
##F9D95F1.001.3915.1215.12
#FFFFFF1.391.0021.0021.00
#00000015.1221.001.001.00
##00000015.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED551
Deuteranopia (green-blind)
#F6DF65
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f9d95f;
/* rgb */ color: rgb(249, 217, 95);
/* oklch */ color: oklch(89.0% 0.144 94.6);
Tailwind
colors: {
  custom: {
    50: '#ffe491',
    500: '#f9d95f',
    950: '#000000',
  },
}
SCSS
$custom: #f9d95f;
$custom-light: #ffe491;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d95f",
  "rgb": {
    "r": 249,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 47.532,
    "s": 92.771,
    "l": 67.451
  },
  "oklch": {
    "l": 0.8896,
    "c": 0.14377,
    "h": 94.6
  },
  "luminance": 0.70592
}

Semantic roles & 50–950 ramp

primary
#F9D95F
secondary
#2C4ED0
accent
#30E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F9D95F

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

Preview Lab → · Contrast checker → · Palette generator →

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