#F9E966#F9E966

#F9E966 is a very light, vivid yellow. Relative luminance 0.794; OKLCH L 92.2% C 0.151 H 102.4°. Best body text is #000000 at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#F9E966
RGBrgb(249, 233, 102)
HSLhsl(53, 92%, 69%)
HSVhsv(53, 59%, 98%)
CMYKcmyk(0%, 6.4%, 59%, 2.4%)
CIE-LABlab(91.41, -10.12, 64.08)
CIE-LCHlch(91.41, 64.88, 98.98°)
OKLaboklab(92.24% -0.0324 0.1475)
OKLCHoklch(92.24% 0.151 102.4)
XYZxyz(70.6067, 79.3796, 24.1704)
Luminance0.7938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E966 #6676F9
analogous
#F9A066 #F9E966 #C0F966
triadic
#F9E966 #66F9E9 #E966F9
tetradic
#F9E966 #66F9A0 #6676F9 #F966C0
square
#F9E966 #66F9A0 #6676F9 #F966C0
split-complementary
#F9E966 #66C0F9 #A066F9
monochromatic
#DCC509 #F7E12B #F9E966 #FBF1A1 #FEFADC

Accessibility & contrast

On white

1.24
#F9E966 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.88
#F9E966 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E966
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E966#FFFFFF#000000##000000
##F9E9661.001.2416.8816.88
#FFFFFF1.241.0021.0021.00
#00000016.8821.001.001.00
##00000016.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE258
Deuteranopia (green-blind)
#FFEA6D
Tritanopia (blue-blind)
#FFDACD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f9e966;
/* rgb */ color: rgb(249, 233, 102);
/* oklch */ color: oklch(92.2% 0.151 102.4);
Tailwind
colors: {
  custom: {
    50: '#feef96',
    500: '#f9e966',
    950: '#000000',
  },
}
SCSS
$custom: #f9e966;
$custom-light: #feef96;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e966",
  "rgb": {
    "r": 249,
    "g": 233,
    "b": 102
  },
  "hsl": {
    "h": 53.469,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.92243,
    "c": 0.15096,
    "h": 102.4
  },
  "luminance": 0.79377
}

Semantic roles & 50–950 ramp

primary
#F9E966
secondary
#3042D3
accent
#19E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F9E966

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

Preview Lab → · Contrast checker → · Palette generator →

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