#F9E970#F9E970

#F9E970 is a very light, vivid yellow. Relative luminance 0.796; OKLCH L 92.3% C 0.142 H 101.8°. Best body text is #000000 at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#F9E970
RGBrgb(249, 233, 112)
HSLhsl(53, 92%, 71%)
HSVhsv(53, 55%, 98%)
CMYKcmyk(0%, 6.4%, 55%, 2.4%)
CIE-LABlab(91.50, -9.41, 59.79)
CIE-LCHlch(91.50, 60.52, 98.94°)
OKLaboklab(92.35% -0.0292 0.1394)
OKLCHoklch(92.35% 0.142 101.8)
XYZxyz(71.1328, 79.5900, 26.9416)
Luminance0.7959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E970 #7080F9
analogous
#F9A470 #F9E970 #C4F970
triadic
#F9E970 #70F9E9 #E970F9
tetradic
#F9E970 #70F9A4 #7080F9 #F970C4
square
#F9E970 #70F9A4 #7080F9 #F970C4
split-complementary
#F9E970 #70C4F9 #A470F9
monochromatic
#E5CB0A #F7E035 #F9E970 #FBF2AB #FEFAE2

Accessibility & contrast

On white

1.24
#F9E970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.92
#F9E970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E970
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E970#FFFFFF#000000##000000
##F9E9701.001.2416.9216.92
#FFFFFF1.241.0021.0021.00
#00000016.9221.001.001.00
##00000016.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE364
Deuteranopia (green-blind)
#FFEA76
Tritanopia (blue-blind)
#FFDBCE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f9e970;
/* rgb */ color: rgb(249, 233, 112);
/* oklch */ color: oklch(92.3% 0.142 101.8);
Tailwind
colors: {
  custom: {
    50: '#feef9c',
    500: '#f9e970',
    950: '#000000',
  },
}
SCSS
$custom: #f9e970;
$custom-light: #feef9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e970",
  "rgb": {
    "r": 249,
    "g": 233,
    "b": 112
  },
  "hsl": {
    "h": 52.993,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92349,
    "c": 0.14243,
    "h": 101.8
  },
  "luminance": 0.79587
}

Semantic roles & 50–950 ramp

primary
#F9E970
secondary
#394BD4
accent
#1BE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F9E970

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

Preview Lab → · Contrast checker → · Palette generator →

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