#F9EC66#F9EC66

#F9EC66 is a very light, vivid yellow. Relative luminance 0.811; OKLCH L 92.9% C 0.154 H 103.8°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#F9EC66
RGBrgb(249, 236, 102)
HSLhsl(55, 92%, 69%)
HSVhsv(55, 59%, 98%)
CMYKcmyk(0%, 5.2%, 59%, 2.4%)
CIE-LABlab(92.17, -11.60, 64.93)
CIE-LCHlch(92.17, 65.96, 100.13°)
OKLaboklab(92.85% -0.0366 0.1493)
OKLCHoklch(92.85% 0.154 103.8)
XYZxyz(71.4632, 81.0925, 24.4559)
Luminance0.8109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EC66 #6673F9
analogous
#F9A366 #F9EC66 #BDF966
triadic
#F9EC66 #66F9EC #EC66F9
tetradic
#F9EC66 #66F9A3 #6673F9 #F966BD
square
#F9EC66 #66F9A3 #6673F9 #F966BD
split-complementary
#F9EC66 #66BDF9 #A366F9
monochromatic
#DCC909 #F7E52B #F9EC66 #FBF3A1 #FEFBDC

Accessibility & contrast

On white

1.22
#F9EC66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.22
#F9EC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EC66
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EC66#FFFFFF#000000##000000
##F9EC661.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE557
Deuteranopia (green-blind)
#FFEC6D
Tritanopia (blue-blind)
#FFDDCF
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f9ec66;
/* rgb */ color: rgb(249, 236, 102);
/* oklch */ color: oklch(92.9% 0.154 103.8);
Tailwind
colors: {
  custom: {
    50: '#fef196',
    500: '#f9ec66',
    950: '#000000',
  },
}
SCSS
$custom: #f9ec66;
$custom-light: #fef196;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ec66",
  "rgb": {
    "r": 249,
    "g": 236,
    "b": 102
  },
  "hsl": {
    "h": 54.694,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.92853,
    "c": 0.15367,
    "h": 103.8
  },
  "luminance": 0.8109
}

Semantic roles & 50–950 ramp

primary
#F9EC66
secondary
#303FD3
accent
#14E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F9EC66

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

Preview Lab → · Contrast checker → · Palette generator →

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