#F9DF71#F9DF71

#F9DF71 is a very light, vivid yellow. Relative luminance 0.741; OKLCH L 90.4% C 0.133 H 96.3°. Best body text is #000000 at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#F9DF71
RGBrgb(249, 223, 113)
HSLhsl(49, 92%, 71%)
HSVhsv(49, 55%, 98%)
CMYKcmyk(0%, 10.4%, 54.6%, 2.4%)
CIE-LABlab(88.97, -4.33, 56.40)
CIE-LCHlch(88.97, 56.57, 94.39°)
OKLaboklab(90.35% -0.0145 0.1322)
OKLCHoklch(90.35% 0.133 96.3)
XYZxyz(68.4378, 74.1103, 26.3194)
Luminance0.7411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9DF71 #718BF9
analogous
#F99B71 #F9DF71 #CFF971
triadic
#F9DF71 #71F9DF #DF71F9
tetradic
#F9DF71 #71F99B #718BF9 #F971CF
square
#F9DF71 #71F99B #718BF9 #F971CF
split-complementary
#F9DF71 #71CFF9 #9B71F9
monochromatic
#E6BC0A #F7D236 #F9DF71 #FBECAC #FEF8E2

Accessibility & contrast

On white

1.33
#F9DF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.82
#F9DF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9DF71
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9DF71#FFFFFF#000000##000000
##F9DF711.001.3315.8215.82
#FFFFFF1.331.0021.0021.00
#00000015.8221.001.001.00
##00000015.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB67
Deuteranopia (green-blind)
#F9E376
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f9df71;
/* rgb */ color: rgb(249, 223, 113);
/* oklch */ color: oklch(90.4% 0.133 96.3);
Tailwind
colors: {
  custom: {
    50: '#fee89d',
    500: '#f9df71',
    950: '#000000',
  },
}
SCSS
$custom: #f9df71;
$custom-light: #fee89d;
$custom-dark: #000000;
JSON
{
  "hex": "#f9df71",
  "rgb": {
    "r": 249,
    "g": 223,
    "b": 113
  },
  "hsl": {
    "h": 48.529,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.90351,
    "c": 0.13299,
    "h": 96.3
  },
  "luminance": 0.74107
}

Semantic roles & 50–950 ramp

primary
#F9DF71
secondary
#3A57D4
accent
#2CE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F9DF71

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

Preview Lab → · Contrast checker → · Palette generator →

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