#F9F970#F9F970

#F9F970 is a very light, vivid yellow. Relative luminance 0.891; OKLCH L 95.6% C 0.158 H 109.1°. Best body text is #000000 at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#F9F970
RGBrgb(249, 249, 112)
HSLhsl(60, 92%, 71%)
HSVhsv(60, 55%, 98%)
CMYKcmyk(0%, 0%, 55%, 2.4%)
CIE-LABlab(95.61, -17.25, 64.46)
CIE-LCHlch(95.61, 66.73, 104.98°)
OKLaboklab(95.62% -0.0516 0.1494)
OKLCHoklch(95.62% 0.158 109.1)
XYZxyz(75.8693, 89.0629, 28.5204)
Luminance0.8906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F970 #7070F9
analogous
#F9B470 #F9F970 #B4F970
triadic
#F9F970 #70F9F9 #F970F9
tetradic
#F9F970 #70F9B4 #7070F9 #F970B4
square
#F9F970 #70F9B4 #7070F9 #F970B4
split-complementary
#F9F970 #70B4F9 #B470F9
monochromatic
#E5E50A #F7F735 #F9F970 #FBFBAB #FEFEE2

Accessibility & contrast

On white

1.12
#F9F970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.81
#F9F970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F970
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F970#FFFFFF#000000##000000
##F9F9701.001.1218.8118.81
#FFFFFF1.121.0021.0021.00
#00000018.8121.001.001.00
##00000018.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF062
Deuteranopia (green-blind)
#FFF578
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f9f970;
/* rgb */ color: rgb(249, 249, 112);
/* oklch */ color: oklch(95.6% 0.158 109.1);
Tailwind
colors: {
  custom: {
    50: '#fefb9d',
    500: '#f9f970',
    950: '#000000',
  },
}
SCSS
$custom: #f9f970;
$custom-light: #fefb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f970",
  "rgb": {
    "r": 249,
    "g": 249,
    "b": 112
  },
  "hsl": {
    "h": 60,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.95616,
    "c": 0.15809,
    "h": 109.1
  },
  "luminance": 0.89061
}

Semantic roles & 50–950 ramp

primary
#F9F970
secondary
#3939D4
accent
#00E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F970

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

Preview Lab → · Contrast checker → · Palette generator →

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