#F9F066#F9F066

#F9F066 is a very light, vivid yellow. Relative luminance 0.834; OKLCH L 93.7% C 0.157 H 105.6°. Best body text is #000000 at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#F9F066
RGBrgb(249, 240, 102)
HSLhsl(56, 92%, 69%)
HSVhsv(56, 59%, 98%)
CMYKcmyk(0%, 3.6%, 59%, 2.4%)
CIE-LABlab(93.20, -13.57, 66.06)
CIE-LCHlch(93.20, 67.44, 101.61°)
OKLaboklab(93.67% -0.0422 0.1517)
OKLCHoklch(93.67% 0.157 105.6)
XYZxyz(72.6277, 83.4216, 24.8440)
Luminance0.8342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F066 #666FF9
analogous
#F9A766 #F9F066 #B8F966
triadic
#F9F066 #66F9F0 #F066F9
tetradic
#F9F066 #66F9A7 #666FF9 #F966B8
square
#F9F066 #66F9A7 #666FF9 #F966B8
split-complementary
#F9F066 #66B8F9 #A766F9
monochromatic
#DCCF09 #F7EA2B #F9F066 #FBF6A1 #FEFCDC

Accessibility & contrast

On white

1.19
#F9F066 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.68
#F9F066 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F066
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F066#FFFFFF#000000##000000
##F9F0661.001.1917.6817.68
#FFFFFF1.191.0021.0021.00
#00000017.6821.001.001.00
##00000017.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE856
Deuteranopia (green-blind)
#FFEE6E
Tritanopia (blue-blind)
#FFE1D2
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f9f066;
/* rgb */ color: rgb(249, 240, 102);
/* oklch */ color: oklch(93.7% 0.157 105.6);
Tailwind
colors: {
  custom: {
    50: '#fef497',
    500: '#f9f066',
    950: '#000000',
  },
}
SCSS
$custom: #f9f066;
$custom-light: #fef497;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f066",
  "rgb": {
    "r": 249,
    "g": 240,
    "b": 102
  },
  "hsl": {
    "h": 56.327,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.93669,
    "c": 0.15741,
    "h": 105.6
  },
  "luminance": 0.83419
}

Semantic roles & 50–950 ramp

primary
#F9F066
secondary
#303AD3
accent
#0EE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9F066

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

Preview Lab → · Contrast checker → · Palette generator →

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