#F9D866#F9D866

#F9D866 is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.8% C 0.137 H 93.3°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#F9D866
RGBrgb(249, 216, 102)
HSLhsl(47, 92%, 69%)
HSVhsv(47, 59%, 98%)
CMYKcmyk(0%, 13.3%, 59%, 2.4%)
CIE-LABlab(87.10, -1.59, 59.27)
CIE-LCHlch(87.10, 59.29, 91.53°)
OKLaboklab(88.83% -0.0079 0.1372)
OKLCHoklch(88.83% 0.137 93.3)
XYZxyz(66.0239, 70.2141, 22.6428)
Luminance0.7021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D866 #6687F9
analogous
#F98F66 #F9D866 #D0F966
triadic
#F9D866 #66F9D8 #D866F9
tetradic
#F9D866 #66F98F #6687F9 #F966D0
square
#F9D866 #66F98F #6687F9 #F966D0
split-complementary
#F9D866 #66D0F9 #8F66F9
monochromatic
#DCAD09 #F7C92B #F9D866 #FBE7A1 #FEF6DC

Accessibility & contrast

On white

1.40
#F9D866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.04
#F9D866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D866
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D866#FFFFFF#000000##000000
##F9D8661.001.4015.0415.04
#FFFFFF1.401.0021.0021.00
#00000015.0421.001.001.00
##00000015.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD45A
Deuteranopia (green-blind)
#F4DE6B
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f9d866;
/* rgb */ color: rgb(249, 216, 102);
/* oklch */ color: oklch(88.8% 0.137 93.3);
Tailwind
colors: {
  custom: {
    50: '#fee395',
    500: '#f9d866',
    950: '#000000',
  },
}
SCSS
$custom: #f9d866;
$custom-light: #fee395;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d866",
  "rgb": {
    "r": 249,
    "g": 216,
    "b": 102
  },
  "hsl": {
    "h": 46.531,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.88834,
    "c": 0.13739,
    "h": 93.3
  },
  "luminance": 0.70211
}

Semantic roles & 50–950 ramp

primary
#F9D866
secondary
#3055D3
accent
#34E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F9D866

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

Preview Lab → · Contrast checker → · Palette generator →

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