#F9D970#F9D970

#F9D970 is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 89.1% C 0.129 H 92.7°. Best body text is #000000 at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#F9D970
RGBrgb(249, 217, 112)
HSLhsl(46, 92%, 71%)
HSVhsv(46, 55%, 98%)
CMYKcmyk(0%, 12.9%, 55%, 2.4%)
CIE-LABlab(87.46, -1.37, 55.09)
CIE-LCHlch(87.46, 55.11, 91.42°)
OKLaboklab(89.15% -0.0061 0.1293)
OKLCHoklch(89.15% 0.129 92.7)
XYZxyz(66.8071, 70.9385, 25.4996)
Luminance0.7094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D970 #7090F9
analogous
#F99470 #F9D970 #D5F970
triadic
#F9D970 #70F9D9 #D970F9
tetradic
#F9D970 #70F994 #7090F9 #F970D5
square
#F9D970 #70F994 #7090F9 #F970D5
split-complementary
#F9D970 #70D5F9 #9470F9
monochromatic
#E5B20A #F7C935 #F9D970 #FBE9AB #FEF7E2

Accessibility & contrast

On white

1.38
#F9D970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.19
#F9D970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D970
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D970#FFFFFF#000000##000000
##F9D9701.001.3815.1915.19
#FFFFFF1.381.0021.0021.00
#00000015.1921.001.001.00
##00000015.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD666
Deuteranopia (green-blind)
#F4DF74
Tritanopia (blue-blind)
#FFCBC1
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f9d970;
/* rgb */ color: rgb(249, 217, 112);
/* oklch */ color: oklch(89.1% 0.129 92.7);
Tailwind
colors: {
  custom: {
    50: '#fee49c',
    500: '#f9d970',
    950: '#000000',
  },
}
SCSS
$custom: #f9d970;
$custom-light: #fee49c;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d970",
  "rgb": {
    "r": 249,
    "g": 217,
    "b": 112
  },
  "hsl": {
    "h": 45.985,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.89146,
    "c": 0.12939,
    "h": 92.7
  },
  "luminance": 0.70935
}

Semantic roles & 50–950 ramp

primary
#F9D970
secondary
#395DD4
accent
#36E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F9D970

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

Preview Lab → · Contrast checker → · Palette generator →

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