#F9F666#F9F666

#F9F666 is a very light, vivid yellow. Relative luminance 0.870; OKLCH L 94.9% C 0.163 H 108.0°. Best body text is #000000 at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#F9F666
RGBrgb(249, 246, 102)
HSLhsl(59, 92%, 69%)
HSVhsv(59, 59%, 98%)
CMYKcmyk(0%, 1.2%, 59%, 2.4%)
CIE-LABlab(94.74, -16.49, 67.75)
CIE-LCHlch(94.74, 69.73, 103.68°)
OKLaboklab(94.9% -0.0505 0.1553)
OKLCHoklch(94.9% 0.163 108)
XYZxyz(74.4233, 87.0127, 25.4426)
Luminance0.8701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F666 #6669F9
analogous
#F9AD66 #F9F666 #B2F966
triadic
#F9F666 #66F9F6 #F666F9
tetradic
#F9F666 #66F9AD #6669F9 #F966B2
square
#F9F666 #66F9AD #6669F9 #F966B2
split-complementary
#F9F666 #66B2F9 #AD66F9
monochromatic
#DCD809 #F7F32B #F9F666 #FBF9A1 #FEFDDC

Accessibility & contrast

On white

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

On black

18.40
#F9F666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F666
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F666#FFFFFF#000000##000000
##F9F6661.001.1418.4018.40
#FFFFFF1.141.0021.0021.00
#00000018.4021.001.001.00
##00000018.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED55
Deuteranopia (green-blind)
#FFF26E
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f9f666;
/* rgb */ color: rgb(249, 246, 102);
/* oklch */ color: oklch(94.9% 0.163 108.0);
Tailwind
colors: {
  custom: {
    50: '#fef897',
    500: '#f9f666',
    950: '#000000',
  },
}
SCSS
$custom: #f9f666;
$custom-light: #fef897;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f666",
  "rgb": {
    "r": 249,
    "g": 246,
    "b": 102
  },
  "hsl": {
    "h": 58.776,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.94899,
    "c": 0.16326,
    "h": 108
  },
  "luminance": 0.87011
}

Semantic roles & 50–950 ramp

primary
#F9F666
secondary
#3034D3
accent
#05E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9F666

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

Preview Lab → · Contrast checker → · Palette generator →

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