#F1D971#F1D971

#F1D971 is a very light, vivid yellow. Relative luminance 0.695; OKLCH L 88.4% C 0.127 H 96.6°. Best body text is #000000 at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#F1D971
RGBrgb(241, 217, 113)
HSLhsl(49, 82%, 69%)
HSVhsv(49, 53%, 95%)
CMYKcmyk(0%, 10%, 53.1%, 5.5%)
CIE-LABlab(86.76, -4.53, 53.63)
CIE-LCHlch(86.76, 53.82, 94.83°)
OKLaboklab(88.44% -0.0146 0.1263)
OKLCHoklch(88.44% 0.127 96.6)
XYZxyz(64.0714, 69.5214, 25.6636)
Luminance0.6952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1D971 #7189F1
analogous
#F19971 #F1D971 #C9F171
triadic
#F1D971 #71F1D9 #D971F1
tetradic
#F1D971 #71F199 #7189F1 #F171C9
square
#F1D971 #71F199 #7189F1 #F171C9
split-complementary
#F1D971 #71C9F1 #9971F1
monochromatic
#D3AF15 #ECCA39 #F1D971 #F6E8A9 #FCF7E0

Accessibility & contrast

On white

1.41
#F1D971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.90
#F1D971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1D971
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1D971#FFFFFF#000000##000000
##F1D9711.001.4114.9014.90
#FFFFFF1.411.0021.0021.00
#00000014.9021.001.001.00
##00000014.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD567
Deuteranopia (green-blind)
#F1DD75
Tritanopia (blue-blind)
#FFCCC1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f1d971;
/* rgb */ color: rgb(241, 217, 113);
/* oklch */ color: oklch(88.4% 0.127 96.6);
Tailwind
colors: {
  custom: {
    50: '#f8e49c',
    500: '#f1d971',
    950: '#000000',
  },
}
SCSS
$custom: #f1d971;
$custom-light: #f8e49c;
$custom-dark: #000000;
JSON
{
  "hex": "#f1d971",
  "rgb": {
    "r": 241,
    "g": 217,
    "b": 113
  },
  "hsl": {
    "h": 48.75,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.88436,
    "c": 0.12716,
    "h": 96.6
  },
  "luminance": 0.69519
}

Semantic roles & 50–950 ramp

primary
#F1D971
secondary
#3C57CA
accent
#2FDE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F1D971

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

Preview Lab → · Contrast checker → · Palette generator →

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