#F9F168#F9F168

#F9F168 is a very light, vivid yellow. Relative luminance 0.841; OKLCH L 93.9% C 0.157 H 105.9°. Best body text is #000000 at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#F9F168
RGBrgb(249, 241, 104)
HSLhsl(57, 92%, 69%)
HSVhsv(57, 58%, 98%)
CMYKcmyk(0%, 3.2%, 58.2%, 2.4%)
CIE-LABlab(93.47, -13.92, 65.51)
CIE-LCHlch(93.47, 66.98, 102.00°)
OKLaboklab(93.89% -0.043 0.1507)
OKLCHoklch(93.89% 0.157 105.9)
XYZxyz(73.0233, 84.0522, 25.4711)
Luminance0.8405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F168 #6870F9
analogous
#F9A968 #F9F168 #B8F968
triadic
#F9F168 #68F9F1 #F168F9
tetradic
#F9F168 #68F9A9 #6870F9 #F968B8
square
#F9F168 #68F9A9 #6870F9 #F968B8
split-complementary
#F9F168 #68B8F9 #A968F9
monochromatic
#DED209 #F7EC2D #F9F168 #FBF6A3 #FEFCDE

Accessibility & contrast

On white

1.18
#F9F168 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.81
#F9F168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F168
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F168#FFFFFF#000000##000000
##F9F1681.001.1817.8117.81
#FFFFFF1.181.0021.0021.00
#00000017.8121.001.001.00
##00000017.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE959
Deuteranopia (green-blind)
#FFEF70
Tritanopia (blue-blind)
#FFE3D3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f9f168;
/* rgb */ color: rgb(249, 241, 104);
/* oklch */ color: oklch(93.9% 0.157 105.9);
Tailwind
colors: {
  custom: {
    50: '#fef598',
    500: '#f9f168',
    950: '#000000',
  },
}
SCSS
$custom: #f9f168;
$custom-light: #fef598;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f168",
  "rgb": {
    "r": 249,
    "g": 241,
    "b": 104
  },
  "hsl": {
    "h": 56.69,
    "s": 92.357,
    "l": 69.216
  },
  "oklch": {
    "l": 0.93893,
    "c": 0.15675,
    "h": 105.9
  },
  "luminance": 0.8405
}

Semantic roles & 50–950 ramp

primary
#F9F168
secondary
#323BD3
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9F168

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

Preview Lab → · Contrast checker → · Palette generator →

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