#F9D868#F9D868

#F9D868 is a very light, vivid yellow. Relative luminance 0.703; OKLCH L 88.9% C 0.136 H 93.1°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#F9D868
RGBrgb(249, 216, 104)
HSLhsl(46, 92%, 69%)
HSVhsv(46, 58%, 98%)
CMYKcmyk(0%, 13.3%, 58.2%, 2.4%)
CIE-LABlab(87.12, -1.45, 58.39)
CIE-LCHlch(87.12, 58.41, 91.42°)
OKLaboklab(88.86% -0.0072 0.1355)
OKLCHoklch(88.86% 0.136 93.1)
XYZxyz(66.1243, 70.2542, 23.1715)
Luminance0.7025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D868 #6889F9
analogous
#F99068 #F9D868 #D2F968
triadic
#F9D868 #68F9D8 #D868F9
tetradic
#F9D868 #68F990 #6889F9 #F968D2
square
#F9D868 #68F990 #6889F9 #F968D2
split-complementary
#F9D868 #68D2F9 #9068F9
monochromatic
#DEAD09 #F7C92D #F9D868 #FBE7A3 #FEF6DE

Accessibility & contrast

On white

1.40
#F9D868 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.05
#F9D868 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D868
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D868#FFFFFF#000000##000000
##F9D8681.001.4015.0515.05
#FFFFFF1.401.0021.0021.00
#00000015.0521.001.001.00
##00000015.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD55D
Deuteranopia (green-blind)
#F4DE6D
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f9d868;
/* rgb */ color: rgb(249, 216, 104);
/* oklch */ color: oklch(88.9% 0.136 93.1);
Tailwind
colors: {
  custom: {
    50: '#fee396',
    500: '#f9d868',
    950: '#000000',
  },
}
SCSS
$custom: #f9d868;
$custom-light: #fee396;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d868",
  "rgb": {
    "r": 249,
    "g": 216,
    "b": 104
  },
  "hsl": {
    "h": 46.345,
    "s": 92.357,
    "l": 69.216
  },
  "oklch": {
    "l": 0.88856,
    "c": 0.13569,
    "h": 93.1
  },
  "luminance": 0.70251
}

Semantic roles & 50–950 ramp

primary
#F9D868
secondary
#3257D3
accent
#34E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F9D868

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

Preview Lab → · Contrast checker → · Palette generator →

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