#F9D864#F9D864

#F9D864 is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.8% C 0.139 H 93.5°. Best body text is #000000 at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#F9D864
RGBrgb(249, 216, 100)
HSLhsl(47, 93%, 68%)
HSVhsv(47, 60%, 98%)
CMYKcmyk(0%, 13.3%, 59.8%, 2.4%)
CIE-LABlab(87.08, -1.72, 60.14)
CIE-LCHlch(87.08, 60.17, 91.64°)
OKLaboklab(88.81% -0.0085 0.1388)
OKLCHoklch(88.81% 0.139 93.5)
XYZxyz(65.9259, 70.1749, 22.1267)
Luminance0.7017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D864 #6485F9
analogous
#F98D64 #F9D864 #D0F964
triadic
#F9D864 #64F9D8 #D864F9
tetradic
#F9D864 #64F98D #6485F9 #F964D0
square
#F9D864 #64F98D #6485F9 #F964D0
split-complementary
#F9D864 #64D0F9 #8D64F9
monochromatic
#DAAC08 #F7C929 #F9D864 #FBE79F #FEF6DA

Accessibility & contrast

On white

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

On black

15.03
#F9D864 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D864
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D864#FFFFFF#000000##000000
##F9D8641.001.4015.0315.03
#FFFFFF1.401.0021.0021.00
#00000015.0321.001.001.00
##00000015.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9d864;
/* rgb */ color: rgb(249, 216, 100);
/* oklch */ color: oklch(88.8% 0.139 93.5);
Tailwind
colors: {
  custom: {
    50: '#fee394',
    500: '#f9d864',
    950: '#000000',
  },
}
SCSS
$custom: #f9d864;
$custom-light: #fee394;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d864",
  "rgb": {
    "r": 249,
    "g": 216,
    "b": 100
  },
  "hsl": {
    "h": 46.711,
    "s": 92.547,
    "l": 68.431
  },
  "oklch": {
    "l": 0.88813,
    "c": 0.13904,
    "h": 93.5
  },
  "luminance": 0.70172
}

Semantic roles & 50–950 ramp

primary
#F9D864
secondary
#2F53D2
accent
#33E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F9D864

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

Preview Lab → · Contrast checker → · Palette generator →

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