#F9E66B#F9E66B

#F9E66B is a very light, vivid yellow. Relative luminance 0.778; OKLCH L 91.7% C 0.144 H 100.6°. Best body text is #000000 at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#F9E66B
RGBrgb(249, 230, 107)
HSLhsl(52, 92%, 70%)
HSVhsv(52, 57%, 98%)
CMYKcmyk(0%, 7.6%, 57%, 2.4%)
CIE-LABlab(90.69, -8.28, 61.09)
CIE-LCHlch(90.69, 61.65, 97.72°)
OKLaboklab(91.69% -0.0266 0.1417)
OKLCHoklch(91.69% 0.144 100.6)
XYZxyz(70.0201, 77.7977, 25.2352)
Luminance0.7780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E66B #6B7EF9
analogous
#F99F6B #F9E66B #C5F96B
triadic
#F9E66B #6BF9E6 #E66BF9
tetradic
#F9E66B #6BF99F #6B7EF9 #F96BC5
square
#F9E66B #6BF99F #6B7EF9 #F96BC5
split-complementary
#F9E66B #6BC5F9 #9F6BF9
monochromatic
#E0C409 #F7DC30 #F9E66B #FBF0A6 #FEFAE1

Accessibility & contrast

On white

1.27
#F9E66B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.56
#F9E66B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E66B
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E66B#FFFFFF#000000##000000
##F9E66B1.001.2716.5616.56
#FFFFFF1.271.0021.0021.00
#00000016.5621.001.001.00
##00000016.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E05E
Deuteranopia (green-blind)
#FEE871
Tritanopia (blue-blind)
#FFD8CB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f9e66b;
/* rgb */ color: rgb(249, 230, 107);
/* oklch */ color: oklch(91.7% 0.144 100.6);
Tailwind
colors: {
  custom: {
    50: '#feed99',
    500: '#f9e66b',
    950: '#000000',
  },
}
SCSS
$custom: #f9e66b;
$custom-light: #feed99;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e66b",
  "rgb": {
    "r": 249,
    "g": 230,
    "b": 107
  },
  "hsl": {
    "h": 51.972,
    "s": 92.208,
    "l": 69.804
  },
  "oklch": {
    "l": 0.91688,
    "c": 0.14413,
    "h": 100.6
  },
  "luminance": 0.77795
}

Semantic roles & 50–950 ramp

primary
#F9E66B
secondary
#354AD3
accent
#1FE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F9E66B

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

Preview Lab → · Contrast checker → · Palette generator →

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