#F9E166#F9E166

#F9E166 is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.6% C 0.144 H 98.4°. Best body text is #000000 at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#F9E166
RGBrgb(249, 225, 102)
HSLhsl(50, 92%, 69%)
HSVhsv(50, 59%, 98%)
CMYKcmyk(0%, 9.6%, 59%, 2.4%)
CIE-LABlab(89.37, -6.13, 61.82)
CIE-LCHlch(89.37, 62.12, 95.67°)
OKLaboklab(90.63% -0.0209 0.1426)
OKLCHoklch(90.63% 0.144 98.4)
XYZxyz(68.3931, 74.9524, 23.4325)
Luminance0.7495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E166 #667EF9
analogous
#F99866 #F9E166 #C8F966
triadic
#F9E166 #66F9E1 #E166F9
tetradic
#F9E166 #66F998 #667EF9 #F966C8
square
#F9E166 #66F998 #667EF9 #F966C8
split-complementary
#F9E166 #66C8F9 #9866F9
monochromatic
#DCB909 #F7D52B #F9E166 #FBEDA1 #FEF8DC

Accessibility & contrast

On white

1.31
#F9E166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.99
#F9E166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E166
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E166#FFFFFF#000000##000000
##F9E1661.001.3115.9915.99
#FFFFFF1.311.0021.0021.00
#00000015.9921.001.001.00
##00000015.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DC59
Deuteranopia (green-blind)
#FBE46C
Tritanopia (blue-blind)
#FFD2C6
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f9e166;
/* rgb */ color: rgb(249, 225, 102);
/* oklch */ color: oklch(90.6% 0.144 98.4);
Tailwind
colors: {
  custom: {
    50: '#feea96',
    500: '#f9e166',
    950: '#000000',
  },
}
SCSS
$custom: #f9e166;
$custom-light: #feea96;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e166",
  "rgb": {
    "r": 249,
    "g": 225,
    "b": 102
  },
  "hsl": {
    "h": 50.204,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.90629,
    "c": 0.14415,
    "h": 98.4
  },
  "luminance": 0.74949
}

Semantic roles & 50–950 ramp

primary
#F9E166
secondary
#304BD3
accent
#25E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F9E166

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

Preview Lab → · Contrast checker → · Palette generator →

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