#F9F167#F9F167

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

Color values

HEX#F9F167
RGBrgb(249, 241, 103)
HSLhsl(57, 92%, 69%)
HSVhsv(57, 59%, 98%)
CMYKcmyk(0%, 3.2%, 58.6%, 2.4%)
CIE-LABlab(93.46, -13.99, 65.93)
CIE-LCHlch(93.46, 67.40, 101.98°)
OKLaboklab(93.88% -0.0433 0.1515)
OKLCHoklch(93.88% 0.158 105.9)
XYZxyz(72.9728, 84.0320, 25.2052)
Luminance0.8403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F167 #676FF9
analogous
#F9A867 #F9F167 #B8F967
triadic
#F9F167 #67F9F1 #F167F9
tetradic
#F9F167 #67F9A8 #676FF9 #F967B8
square
#F9F167 #67F9A8 #676FF9 #F967B8
split-complementary
#F9F167 #67B8F9 #A867F9
monochromatic
#DDD109 #F7EC2C #F9F167 #FBF6A2 #FEFCDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F9F167#FFFFFF#000000##000000
##F9F1671.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)
#FFE958
Deuteranopia (green-blind)
#FFEF6F
Tritanopia (blue-blind)
#FFE3D3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f9f167;
/* rgb */ color: rgb(249, 241, 103);
/* oklch */ color: oklch(93.9% 0.158 105.9);
Tailwind
colors: {
  custom: {
    50: '#fef597',
    500: '#f9f167',
    950: '#000000',
  },
}
SCSS
$custom: #f9f167;
$custom-light: #fef597;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f167",
  "rgb": {
    "r": 249,
    "g": 241,
    "b": 103
  },
  "hsl": {
    "h": 56.712,
    "s": 92.405,
    "l": 69.02
  },
  "oklch": {
    "l": 0.93883,
    "c": 0.15756,
    "h": 105.9
  },
  "luminance": 0.8403
}

Semantic roles & 50–950 ramp

primary
#F9F167
secondary
#313AD3
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9F167

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

Preview Lab → · Contrast checker → · Palette generator →

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