#F9F968#F9F968

#F9F968 is a very light, vivid yellow. Relative luminance 0.889; OKLCH L 95.5% C 0.165 H 109.1°. Best body text is #000000 at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#F9F968
RGBrgb(249, 249, 104)
HSLhsl(60, 92%, 69%)
HSVhsv(60, 58%, 98%)
CMYKcmyk(0%, 0%, 58.2%, 2.4%)
CIE-LABlab(95.54, -17.81, 67.78)
CIE-LCHlch(95.54, 70.08, 104.72°)
OKLaboklab(95.54% -0.054 0.1556)
OKLCHoklch(95.54% 0.165 109.1)
XYZxyz(75.4435, 88.8926, 26.2779)
Luminance0.8889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F968 #6868F9
analogous
#F9B168 #F9F968 #B1F968
triadic
#F9F968 #68F9F9 #F968F9
tetradic
#F9F968 #68F9B1 #6868F9 #F968B1
square
#F9F968 #68F9B1 #6868F9 #F968B1
split-complementary
#F9F968 #68B1F9 #B168F9
monochromatic
#DEDE09 #F7F72D #F9F968 #FBFBA3 #FEFEDE

Accessibility & contrast

On white

1.12
#F9F968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.78
#F9F968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F968
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F968#FFFFFF#000000##000000
##F9F9681.001.1218.7818.78
#FFFFFF1.121.0021.0021.00
#00000018.7821.001.001.00
##00000018.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF57
Deuteranopia (green-blind)
#FFF571
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f9f968;
/* rgb */ color: rgb(249, 249, 104);
/* oklch */ color: oklch(95.5% 0.165 109.1);
Tailwind
colors: {
  custom: {
    50: '#fefb98',
    500: '#f9f968',
    950: '#000000',
  },
}
SCSS
$custom: #f9f968;
$custom-light: #fefb98;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f968",
  "rgb": {
    "r": 249,
    "g": 249,
    "b": 104
  },
  "hsl": {
    "h": 60,
    "s": 92.357,
    "l": 69.216
  },
  "oklch": {
    "l": 0.95536,
    "c": 0.16468,
    "h": 109.1
  },
  "luminance": 0.88891
}

Semantic roles & 50–950 ramp

primary
#F9F968
secondary
#3232D3
accent
#00E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9F968

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

Preview Lab → · Contrast checker → · Palette generator →

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