#F9F864#F9F864

#F9F864 is a very light, vivid yellow. Relative luminance 0.882; OKLCH L 95.3% C 0.167 H 108.8°. Best body text is #000000 at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#F9F864
RGBrgb(249, 248, 100)
HSLhsl(60, 93%, 68%)
HSVhsv(60, 60%, 98%)
CMYKcmyk(0%, 0.4%, 59.8%, 2.4%)
CIE-LABlab(95.24, -17.59, 69.12)
CIE-LCHlch(95.24, 71.32, 104.28°)
OKLaboklab(95.29% -0.0538 0.1579)
OKLCHoklch(95.29% 0.167 108.8)
XYZxyz(74.9369, 88.1967, 25.1304)
Luminance0.8820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F864 #6465F9
analogous
#F9AD64 #F9F864 #AFF964
triadic
#F9F864 #64F9F8 #F864F9
tetradic
#F9F864 #64F9AD #6465F9 #F964AF
square
#F9F864 #64F9AD #6465F9 #F964AF
split-complementary
#F9F864 #64AFF9 #AD64F9
monochromatic
#DAD908 #F7F529 #F9F864 #FBFB9F #FEFDDA

Accessibility & contrast

On white

1.13
#F9F864 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.64
#F9F864 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F864
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F864#FFFFFF#000000##000000
##F9F8641.001.1318.6418.64
#FFFFFF1.131.0021.0021.00
#00000018.6421.001.001.00
##00000018.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF52
Deuteranopia (green-blind)
#FFF46D
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f9f864;
/* rgb */ color: rgb(249, 248, 100);
/* oklch */ color: oklch(95.3% 0.167 108.8);
Tailwind
colors: {
  custom: {
    50: '#fefa96',
    500: '#f9f864',
    950: '#000000',
  },
}
SCSS
$custom: #f9f864;
$custom-light: #fefa96;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f864",
  "rgb": {
    "r": 249,
    "g": 248,
    "b": 100
  },
  "hsl": {
    "h": 59.597,
    "s": 92.547,
    "l": 68.431
  },
  "oklch": {
    "l": 0.95293,
    "c": 0.16681,
    "h": 108.8
  },
  "luminance": 0.88195
}

Semantic roles & 50–950 ramp

primary
#F9F864
secondary
#2F30D2
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9F864

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

Preview Lab → · Contrast checker → · Palette generator →

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