#F9F06F#F9F06F

#F9F06F is a very light, vivid yellow. Relative luminance 0.836; OKLCH L 93.8% C 0.150 H 105.3°. Best body text is #000000 at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#F9F06F
RGBrgb(249, 240, 111)
HSLhsl(56, 92%, 71%)
HSVhsv(56, 55%, 98%)
CMYKcmyk(0%, 3.6%, 55.4%, 2.4%)
CIE-LABlab(93.28, -12.94, 62.26)
CIE-LCHlch(93.28, 63.59, 101.74°)
OKLaboklab(93.76% -0.0394 0.1446)
OKLCHoklch(93.76% 0.15 105.3)
XYZxyz(73.0985, 83.6100, 27.3236)
Luminance0.8361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F06F #6F78F9
analogous
#F9AB6F #F9F06F #BDF96F
triadic
#F9F06F #6FF9F0 #F06FF9
tetradic
#F9F06F #6FF9AB #6F78F9 #F96FBD
square
#F9F06F #6FF9AB #6F78F9 #F96FBD
split-complementary
#F9F06F #6FBDF9 #AB6FF9
monochromatic
#E4D60A #F7EA34 #F9F06F #FBF6AA #FEFCE2

Accessibility & contrast

On white

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

On black

17.72
#F9F06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F06F
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F06F#FFFFFF#000000##000000
##F9F06F1.001.1817.7217.72
#FFFFFF1.181.0021.0021.00
#00000017.7221.001.001.00
##00000017.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE862
Deuteranopia (green-blind)
#FFEE76
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f9f06f;
/* rgb */ color: rgb(249, 240, 111);
/* oklch */ color: oklch(93.8% 0.150 105.3);
Tailwind
colors: {
  custom: {
    50: '#fef49c',
    500: '#f9f06f',
    950: '#000000',
  },
}
SCSS
$custom: #f9f06f;
$custom-light: #fef49c;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f06f",
  "rgb": {
    "r": 249,
    "g": 240,
    "b": 111
  },
  "hsl": {
    "h": 56.087,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.9376,
    "c": 0.1499,
    "h": 105.3
  },
  "luminance": 0.83608
}

Semantic roles & 50–950 ramp

primary
#F9F06F
secondary
#3842D4
accent
#0FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9F06F

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

Preview Lab → · Contrast checker → · Palette generator →

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