#F9F366#F9F366

#F9F366 is a very light, vivid yellow. Relative luminance 0.852; OKLCH L 94.3% C 0.160 H 106.8°. Best body text is #000000 at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#F9F366
RGBrgb(249, 243, 102)
HSLhsl(58, 92%, 69%)
HSVhsv(58, 59%, 98%)
CMYKcmyk(0%, 2.4%, 59%, 2.4%)
CIE-LABlab(93.97, -15.04, 66.91)
CIE-LCHlch(93.97, 68.57, 102.67°)
OKLaboklab(94.28% -0.0464 0.1535)
OKLCHoklch(94.28% 0.16 106.8)
XYZxyz(73.5182, 85.2025, 25.1409)
Luminance0.8520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F366 #666CF9
analogous
#F9AA66 #F9F366 #B6F966
triadic
#F9F366 #66F9F3 #F366F9
tetradic
#F9F366 #66F9AA #666CF9 #F966B6
square
#F9F366 #66F9AA #666CF9 #F966B6
split-complementary
#F9F366 #66B6F9 #AA66F9
monochromatic
#DCD309 #F7EE2B #F9F366 #FBF8A1 #FEFCDC

Accessibility & contrast

On white

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

On black

18.04
#F9F366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F366
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F366#FFFFFF#000000##000000
##F9F3661.001.1618.0418.04
#FFFFFF1.161.0021.0021.00
#00000018.0421.001.001.00
##00000018.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA56
Deuteranopia (green-blind)
#FFF06E
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f9f366;
/* rgb */ color: rgb(249, 243, 102);
/* oklch */ color: oklch(94.3% 0.160 106.8);
Tailwind
colors: {
  custom: {
    50: '#fef697',
    500: '#f9f366',
    950: '#000000',
  },
}
SCSS
$custom: #f9f366;
$custom-light: #fef697;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f366",
  "rgb": {
    "r": 249,
    "g": 243,
    "b": 102
  },
  "hsl": {
    "h": 57.551,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.94283,
    "c": 0.1603,
    "h": 106.8
  },
  "luminance": 0.852
}

Semantic roles & 50–950 ramp

primary
#F9F366
secondary
#3037D3
accent
#09E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9F366

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

Preview Lab → · Contrast checker → · Palette generator →

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