#F9D771#F9D771

#F9D771 is a very light, vivid yellow. Relative luminance 0.699; OKLCH L 88.8% C 0.127 H 91.2°. Best body text is #000000 at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#F9D771
RGBrgb(249, 215, 113)
HSLhsl(45, 92%, 71%)
HSVhsv(45, 55%, 98%)
CMYKcmyk(0%, 13.7%, 54.6%, 2.4%)
CIE-LABlab(86.97, -0.27, 54.05)
CIE-LCHlch(86.97, 54.05, 90.29°)
OKLaboklab(88.76% -0.0028 0.1271)
OKLCHoklch(88.76% 0.127 91.2)
XYZxyz(66.3507, 69.9361, 25.6237)
Luminance0.6993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D771 #7193F9
analogous
#F99371 #F9D771 #D7F971
triadic
#F9D771 #71F9D7 #D771F9
tetradic
#F9D771 #71F993 #7193F9 #F971D7
square
#F9D771 #71F993 #7193F9 #F971D7
split-complementary
#F9D771 #71D7F9 #9371F9
monochromatic
#E6AF0A #F7C636 #F9D771 #FBE8AC #FEF7E2

Accessibility & contrast

On white

1.40
#F9D771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.99
#F9D771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D771
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D771#FFFFFF#000000##000000
##F9D7711.001.4014.9914.99
#FFFFFF1.401.0021.0021.00
#00000014.9921.001.001.00
##00000014.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD468
Deuteranopia (green-blind)
#F3DE75
Tritanopia (blue-blind)
#FFC9C0
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f9d771;
/* rgb */ color: rgb(249, 215, 113);
/* oklch */ color: oklch(88.8% 0.127 91.2);
Tailwind
colors: {
  custom: {
    50: '#fee39c',
    500: '#f9d771',
    950: '#000000',
  },
}
SCSS
$custom: #f9d771;
$custom-light: #fee39c;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d771",
  "rgb": {
    "r": 249,
    "g": 215,
    "b": 113
  },
  "hsl": {
    "h": 45,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.88763,
    "c": 0.12711,
    "h": 91.2
  },
  "luminance": 0.69933
}

Semantic roles & 50–950 ramp

primary
#F9D771
secondary
#3A61D4
accent
#39E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F9D771

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

Preview Lab → · Contrast checker → · Palette generator →

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