#F9DC70#F9DC70

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

Color values

HEX#F9DC70
RGBrgb(249, 220, 112)
HSLhsl(47, 92%, 71%)
HSVhsv(47, 55%, 98%)
CMYKcmyk(0%, 11.6%, 55%, 2.4%)
CIE-LABlab(88.21, -2.89, 55.97)
CIE-LCHlch(88.21, 56.05, 92.95°)
OKLaboklab(89.74% -0.0105 0.1312)
OKLCHoklch(89.74% 0.132 94.6)
XYZxyz(67.5874, 72.4991, 25.7597)
Luminance0.7250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9DC70 #708DF9
analogous
#F99770 #F9DC70 #D2F970
triadic
#F9DC70 #70F9DC #DC70F9
tetradic
#F9DC70 #70F997 #708DF9 #F970D2
square
#F9DC70 #70F997 #708DF9 #F970D2
split-complementary
#F9DC70 #70D2F9 #9770F9
monochromatic
#E5B70A #F7CE35 #F9DC70 #FBEAAB #FEF8E2

Accessibility & contrast

On white

1.35
#F9DC70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.50
#F9DC70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9DC70
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9DC70#FFFFFF#000000##000000
##F9DC701.001.3515.5015.50
#FFFFFF1.351.0021.0021.00
#00000015.5021.001.001.00
##00000015.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9dc70;
/* rgb */ color: rgb(249, 220, 112);
/* oklch */ color: oklch(89.7% 0.132 94.6);
Tailwind
colors: {
  custom: {
    50: '#fee69c',
    500: '#f9dc70',
    950: '#000000',
  },
}
SCSS
$custom: #f9dc70;
$custom-light: #fee69c;
$custom-dark: #000000;
JSON
{
  "hex": "#f9dc70",
  "rgb": {
    "r": 249,
    "g": 220,
    "b": 112
  },
  "hsl": {
    "h": 47.299,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.89741,
    "c": 0.13158,
    "h": 94.6
  },
  "luminance": 0.72496
}

Semantic roles & 50–950 ramp

primary
#F9DC70
secondary
#395AD4
accent
#31E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F9DC70

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

Preview Lab → · Contrast checker → · Palette generator →

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