#F9F06D#F9F06D

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

Color values

HEX#F9F06D
RGBrgb(249, 240, 109)
HSLhsl(56, 92%, 70%)
HSVhsv(56, 56%, 98%)
CMYKcmyk(0%, 3.6%, 56.2%, 2.4%)
CIE-LABlab(93.26, -13.08, 63.12)
CIE-LCHlch(93.26, 64.46, 101.71°)
OKLaboklab(93.74% -0.0401 0.1462)
OKLCHoklch(93.74% 0.152 105.3)
XYZxyz(72.9896, 83.5664, 26.7501)
Luminance0.8356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F06D #6D76F9
analogous
#F9AA6D #F9F06D #BCF96D
triadic
#F9F06D #6DF9F0 #F06DF9
tetradic
#F9F06D #6DF9AA #6D76F9 #F96DBC
square
#F9F06D #6DF9AA #6D76F9 #F96DBC
split-complementary
#F9F06D #6DBCF9 #AA6DF9
monochromatic
#E2D409 #F7EA32 #F9F06D #FBF6A8 #FEFCE2

Accessibility & contrast

On white

1.19
#F9F06D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.71
#F9F06D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F06D
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F06D#FFFFFF#000000##000000
##F9F06D1.001.1917.7117.71
#FFFFFF1.191.0021.0021.00
#00000017.7121.001.001.00
##00000017.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE85F
Deuteranopia (green-blind)
#FFEE74
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f9f06d;
/* rgb */ color: rgb(249, 240, 109);
/* oklch */ color: oklch(93.7% 0.152 105.3);
Tailwind
colors: {
  custom: {
    50: '#fef49b',
    500: '#f9f06d',
    950: '#000000',
  },
}
SCSS
$custom: #f9f06d;
$custom-light: #fef49b;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f06d",
  "rgb": {
    "r": 249,
    "g": 240,
    "b": 109
  },
  "hsl": {
    "h": 56.143,
    "s": 92.105,
    "l": 70.196
  },
  "oklch": {
    "l": 0.93739,
    "c": 0.15162,
    "h": 105.3
  },
  "luminance": 0.83564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F9F06D

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

Preview Lab → · Contrast checker → · Palette generator →

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