#F9F66C#F9F66C

#F9F66C is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 95.0% C 0.158 H 107.9°. Best body text is #000000 at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#F9F66C
RGBrgb(249, 246, 108)
HSLhsl(59, 92%, 70%)
HSVhsv(59, 57%, 98%)
CMYKcmyk(0%, 1.2%, 56.6%, 2.4%)
CIE-LABlab(94.80, -16.08, 65.27)
CIE-LCHlch(94.80, 67.23, 103.84°)
OKLaboklab(94.96% -0.0487 0.1507)
OKLCHoklch(94.96% 0.158 107.9)
XYZxyz(74.7317, 87.1361, 27.0668)
Luminance0.8713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F66C #6C6FF9
analogous
#F9AF6C #F9F66C #B6F96C
triadic
#F9F66C #6CF9F6 #F66CF9
tetradic
#F9F66C #6CF9AF #6C6FF9 #F96CB6
square
#F9F66C #6CF9AF #6C6FF9 #F96CB6
split-complementary
#F9F66C #6CB6F9 #AF6CF9
monochromatic
#E1DD09 #F7F231 #F9F66C #FBFAA7 #FEFDE2

Accessibility & contrast

On white

1.14
#F9F66C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.43
#F9F66C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F66C
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F66C#FFFFFF#000000##000000
##F9F66C1.001.1418.4318.43
#FFFFFF1.141.0021.0021.00
#00000018.4321.001.001.00
##00000018.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED5D
Deuteranopia (green-blind)
#FFF374
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f9f66c;
/* rgb */ color: rgb(249, 246, 108);
/* oklch */ color: oklch(95.0% 0.158 107.9);
Tailwind
colors: {
  custom: {
    50: '#fef89b',
    500: '#f9f66c',
    950: '#000000',
  },
}
SCSS
$custom: #f9f66c;
$custom-light: #fef89b;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f66c",
  "rgb": {
    "r": 249,
    "g": 246,
    "b": 108
  },
  "hsl": {
    "h": 58.723,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.94958,
    "c": 0.15839,
    "h": 107.9
  },
  "luminance": 0.87134
}

Semantic roles & 50–950 ramp

primary
#F9F66C
secondary
#3639D4
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9F66C

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

Preview Lab → · Contrast checker → · Palette generator →

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