#F9F466#F9F466

#F9F466 is a very light, vivid yellow. Relative luminance 0.858; OKLCH L 94.5% C 0.161 H 107.2°. Best body text is #000000 at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#F9F466
RGBrgb(249, 244, 102)
HSLhsl(58, 92%, 69%)
HSVhsv(58, 59%, 98%)
CMYKcmyk(0%, 2%, 59%, 2.4%)
CIE-LABlab(94.23, -15.52, 67.19)
CIE-LCHlch(94.23, 68.96, 103.01°)
OKLaboklab(94.49% -0.0477 0.1541)
OKLCHoklch(94.49% 0.161 107.2)
XYZxyz(73.8182, 85.8027, 25.2409)
Luminance0.8580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F466 #666BF9
analogous
#F9AB66 #F9F466 #B5F966
triadic
#F9F466 #66F9F4 #F466F9
tetradic
#F9F466 #66F9AB #666BF9 #F966B5
square
#F9F466 #66F9AB #666BF9 #F966B5
split-complementary
#F9F466 #66B5F9 #AB66F9
monochromatic
#DCD509 #F7F02B #F9F466 #FBF8A1 #FEFCDC

Accessibility & contrast

On white

1.16
#F9F466 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.16
#F9F466 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F466
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F466#FFFFFF#000000##000000
##F9F4661.001.1618.1618.16
#FFFFFF1.161.0021.0021.00
#00000018.1621.001.001.00
##00000018.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB56
Deuteranopia (green-blind)
#FFF16E
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f9f466;
/* rgb */ color: rgb(249, 244, 102);
/* oklch */ color: oklch(94.5% 0.161 107.2);
Tailwind
colors: {
  custom: {
    50: '#fef797',
    500: '#f9f466',
    950: '#000000',
  },
}
SCSS
$custom: #f9f466;
$custom-light: #fef797;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f466",
  "rgb": {
    "r": 249,
    "g": 244,
    "b": 102
  },
  "hsl": {
    "h": 57.959,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.94488,
    "c": 0.16128,
    "h": 107.2
  },
  "luminance": 0.858
}

Semantic roles & 50–950 ramp

primary
#F9F466
secondary
#3036D3
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9F466

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

Preview Lab → · Contrast checker → · Palette generator →

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