#F9DC6F#F9DC6F

#F9DC6F is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 89.7% C 0.132 H 94.7°. Best body text is #000000 at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#F9DC6F
RGBrgb(249, 220, 111)
HSLhsl(47, 92%, 71%)
HSVhsv(47, 55%, 98%)
CMYKcmyk(0%, 11.6%, 55.4%, 2.4%)
CIE-LABlab(88.20, -2.96, 56.42)
CIE-LCHlch(88.20, 56.50, 93.01°)
OKLaboklab(89.73% -0.0108 0.132)
OKLCHoklch(89.73% 0.132 94.7)
XYZxyz(67.5320, 72.4769, 25.4681)
Luminance0.7247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9DC6F #6F8CF9
analogous
#F9976F #F9DC6F #D1F96F
triadic
#F9DC6F #6FF9DC #DC6FF9
tetradic
#F9DC6F #6FF997 #6F8CF9 #F96FD1
square
#F9DC6F #6FF997 #6F8CF9 #F96FD1
split-complementary
#F9DC6F #6FD1F9 #976FF9
monochromatic
#E4B60A #F7CE34 #F9DC6F #FBEAAA #FEF8E2

Accessibility & contrast

On white

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

On black

15.49
#F9DC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9DC6F
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9DC6F#FFFFFF#000000##000000
##F9DC6F1.001.3615.4915.49
#FFFFFF1.361.0021.0021.00
#00000015.4921.001.001.00
##00000015.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD865
Deuteranopia (green-blind)
#F7E174
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f9dc6f;
/* rgb */ color: rgb(249, 220, 111);
/* oklch */ color: oklch(89.7% 0.132 94.7);
Tailwind
colors: {
  custom: {
    50: '#fee69b',
    500: '#f9dc6f',
    950: '#000000',
  },
}
SCSS
$custom: #f9dc6f;
$custom-light: #fee69b;
$custom-dark: #000000;
JSON
{
  "hex": "#f9dc6f",
  "rgb": {
    "r": 249,
    "g": 220,
    "b": 111
  },
  "hsl": {
    "h": 47.391,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.8973,
    "c": 0.13248,
    "h": 94.7
  },
  "luminance": 0.72474
}

Semantic roles & 50–950 ramp

primary
#F9DC6F
secondary
#3859D4
accent
#30E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F9DC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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