#F9DC66#F9DC66

#F9DC66 is a very light, vivid yellow. Relative luminance 0.723; OKLCH L 89.6% C 0.140 H 95.6°. Best body text is #000000 at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#F9DC66
RGBrgb(249, 220, 102)
HSLhsl(48, 92%, 69%)
HSVhsv(48, 59%, 98%)
CMYKcmyk(0%, 11.6%, 59%, 2.4%)
CIE-LABlab(88.11, -3.61, 60.40)
CIE-LCHlch(88.11, 60.51, 93.42°)
OKLaboklab(89.63% -0.0137 0.1396)
OKLCHoklch(89.63% 0.14 95.6)
XYZxyz(67.0612, 72.2886, 22.9885)
Luminance0.7228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9DC66 #6683F9
analogous
#F99366 #F9DC66 #CDF966
triadic
#F9DC66 #66F9DC #DC66F9
tetradic
#F9DC66 #66F993 #6683F9 #F966CD
square
#F9DC66 #66F993 #6683F9 #F966CD
split-complementary
#F9DC66 #66CDF9 #9366F9
monochromatic
#DCB209 #F7CF2B #F9DC66 #FBE9A1 #FEF7DC

Accessibility & contrast

On white

1.36
#F9DC66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.46
#F9DC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9DC66
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9DC66#FFFFFF#000000##000000
##F9DC661.001.3615.4615.46
#FFFFFF1.361.0021.0021.00
#00000015.4621.001.001.00
##00000015.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D85A
Deuteranopia (green-blind)
#F7E16B
Tritanopia (blue-blind)
#FFCDC2
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f9dc66;
/* rgb */ color: rgb(249, 220, 102);
/* oklch */ color: oklch(89.6% 0.140 95.6);
Tailwind
colors: {
  custom: {
    50: '#fee695',
    500: '#f9dc66',
    950: '#000000',
  },
}
SCSS
$custom: #f9dc66;
$custom-light: #fee695;
$custom-dark: #000000;
JSON
{
  "hex": "#f9dc66",
  "rgb": {
    "r": 249,
    "g": 220,
    "b": 102
  },
  "hsl": {
    "h": 48.163,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.89629,
    "c": 0.14026,
    "h": 95.6
  },
  "luminance": 0.72285
}

Semantic roles & 50–950 ramp

primary
#F9DC66
secondary
#3050D3
accent
#2DE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F9DC66

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

Preview Lab → · Contrast checker → · Palette generator →

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