#F9DC6C#F9DC6C

#F9DC6C is a very light, vivid yellow. Relative luminance 0.724; OKLCH L 89.7% C 0.135 H 95.0°. Best body text is #000000 at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#F9DC6C
RGBrgb(249, 220, 108)
HSLhsl(48, 92%, 70%)
HSVhsv(48, 57%, 98%)
CMYKcmyk(0%, 11.6%, 56.6%, 2.4%)
CIE-LABlab(88.17, -3.19, 57.77)
CIE-LCHlch(88.17, 57.85, 93.16°)
OKLaboklab(89.7% -0.0118 0.1346)
OKLCHoklch(89.7% 0.135 95)
XYZxyz(67.3696, 72.4120, 24.6127)
Luminance0.7241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9DC6C #6C89F9
analogous
#F9966C #F9DC6C #CFF96C
triadic
#F9DC6C #6CF9DC #DC6CF9
tetradic
#F9DC6C #6CF996 #6C89F9 #F96CCF
square
#F9DC6C #6CF996 #6C89F9 #F96CCF
split-complementary
#F9DC6C #6CCFF9 #966CF9
monochromatic
#E1B509 #F7CE31 #F9DC6C #FBEAA7 #FEF8E2

Accessibility & contrast

On white

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

On black

15.48
#F9DC6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9DC6C
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9DC6C#FFFFFF#000000##000000
##F9DC6C1.001.3615.4815.48
#FFFFFF1.361.0021.0021.00
#00000015.4821.001.001.00
##00000015.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9dc6c;
/* rgb */ color: rgb(249, 220, 108);
/* oklch */ color: oklch(89.7% 0.135 95.0);
Tailwind
colors: {
  custom: {
    50: '#fee699',
    500: '#f9dc6c',
    950: '#000000',
  },
}
SCSS
$custom: #f9dc6c;
$custom-light: #fee699;
$custom-dark: #000000;
JSON
{
  "hex": "#f9dc6c",
  "rgb": {
    "r": 249,
    "g": 220,
    "b": 108
  },
  "hsl": {
    "h": 47.66,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.89695,
    "c": 0.13513,
    "h": 95
  },
  "luminance": 0.72409
}

Semantic roles & 50–950 ramp

primary
#F9DC6C
secondary
#3656D4
accent
#2FE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F9DC6C

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

Preview Lab → · Contrast checker → · Palette generator →

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