#F9F668#F9F668

#F9F668 is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 94.9% C 0.162 H 108.0°. Best body text is #000000 at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#F9F668
RGBrgb(249, 246, 104)
HSLhsl(59, 92%, 69%)
HSVhsv(59, 58%, 98%)
CMYKcmyk(0%, 1.2%, 58.2%, 2.4%)
CIE-LABlab(94.76, -16.36, 66.93)
CIE-LCHlch(94.76, 68.90, 103.73°)
OKLaboklab(94.92% -0.0499 0.1538)
OKLCHoklch(94.92% 0.162 108)
XYZxyz(74.5237, 87.0529, 25.9712)
Luminance0.8705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F668 #686BF9
analogous
#F9AE68 #F9F668 #B3F968
triadic
#F9F668 #68F9F6 #F668F9
tetradic
#F9F668 #68F9AE #686BF9 #F968B3
square
#F9F668 #68F9AE #686BF9 #F968B3
split-complementary
#F9F668 #68B3F9 #AE68F9
monochromatic
#DED909 #F7F22D #F9F668 #FBFAA3 #FEFDDE

Accessibility & contrast

On white

1.14
#F9F668 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.41
#F9F668 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F668
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F668#FFFFFF#000000##000000
##F9F6681.001.1418.4118.41
#FFFFFF1.141.0021.0021.00
#00000018.4121.001.001.00
##00000018.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED58
Deuteranopia (green-blind)
#FFF270
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f9f668;
/* rgb */ color: rgb(249, 246, 104);
/* oklch */ color: oklch(94.9% 0.162 108.0);
Tailwind
colors: {
  custom: {
    50: '#fef898',
    500: '#f9f668',
    950: '#000000',
  },
}
SCSS
$custom: #f9f668;
$custom-light: #fef898;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f668",
  "rgb": {
    "r": 249,
    "g": 246,
    "b": 104
  },
  "hsl": {
    "h": 58.759,
    "s": 92.357,
    "l": 69.216
  },
  "oklch": {
    "l": 0.94918,
    "c": 0.16166,
    "h": 108
  },
  "luminance": 0.87051
}

Semantic roles & 50–950 ramp

primary
#F9F668
secondary
#3236D3
accent
#05E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9F668

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

Preview Lab → · Contrast checker → · Palette generator →

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