#F9D95D#F9D95D

#F9D95D is a very light, vivid yellow. Relative luminance 0.706; OKLCH L 88.9% C 0.145 H 94.8°. Best body text is #000000 at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#F9D95D
RGBrgb(249, 217, 93)
HSLhsl(48, 93%, 67%)
HSVhsv(48, 63%, 98%)
CMYKcmyk(0%, 12.9%, 62.7%, 2.4%)
CIE-LABlab(87.27, -2.68, 63.42)
CIE-LCHlch(87.27, 63.47, 92.42°)
OKLaboklab(88.94% -0.0121 0.1448)
OKLCHoklch(88.94% 0.145 94.8)
XYZxyz(65.8586, 70.5591, 20.5041)
Luminance0.7056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D95D #5D7DF9
analogous
#F98B5D #F9D95D #CBF95D
triadic
#F9D95D #5DF9D9 #D95DF9
tetradic
#F9D95D #5DF98B #5D7DF9 #F95DCB
square
#F9D95D #5DF98B #5D7DF9 #F95DCB
split-complementary
#F9D95D #5DCBF9 #8B5DF9
monochromatic
#D4AA08 #F7CB22 #F9D95D #FBE798 #FDF5D3

Accessibility & contrast

On white

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

On black

15.11
#F9D95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D95D
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D95D#FFFFFF#000000##000000
##F9D95D1.001.3915.1115.11
#FFFFFF1.391.0021.0021.00
#00000015.1121.001.001.00
##00000015.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED54F
Deuteranopia (green-blind)
#F6DF63
Tritanopia (blue-blind)
#FFCABE
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f9d95d;
/* rgb */ color: rgb(249, 217, 93);
/* oklch */ color: oklch(88.9% 0.145 94.8);
Tailwind
colors: {
  custom: {
    50: '#ffe490',
    500: '#f9d95d',
    950: '#000000',
  },
}
SCSS
$custom: #f9d95d;
$custom-light: #ffe490;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d95d",
  "rgb": {
    "r": 249,
    "g": 217,
    "b": 93
  },
  "hsl": {
    "h": 47.692,
    "s": 92.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.88941,
    "c": 0.14533,
    "h": 94.8
  },
  "luminance": 0.70556
}

Semantic roles & 50–950 ramp

primary
#F9D95D
secondary
#2C4DCE
accent
#2FE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F9D95D

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

Preview Lab → · Contrast checker → · Palette generator →

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