#F1F171#F1F171

#F1F171 is a very light, vivid yellow. Relative luminance 0.828; OKLCH L 93.3% C 0.150 H 109.0°. Best body text is #000000 at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#F1F171
RGBrgb(241, 241, 113)
HSLhsl(60, 82%, 69%)
HSVhsv(60, 53%, 95%)
CMYKcmyk(0%, 0%, 53.1%, 5.5%)
CIE-LABlab(92.93, -16.46, 60.81)
CIE-LCHlch(92.93, 63.00, 105.15°)
OKLaboklab(93.33% -0.0488 0.1419)
OKLCHoklch(93.33% 0.15 109)
XYZxyz(70.7134, 82.8054, 27.8776)
Luminance0.8280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1F171 #7171F1
analogous
#F1B171 #F1F171 #B1F171
triadic
#F1F171 #71F1F1 #F171F1
tetradic
#F1F171 #71F1B1 #7171F1 #F171B1
square
#F1F171 #71F1B1 #7171F1 #F171B1
split-complementary
#F1F171 #71B1F1 #B171F1
monochromatic
#D3D315 #ECEC39 #F1F171 #F6F6A9 #FCFCE0

Accessibility & contrast

On white

1.20
#F1F171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.56
#F1F171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1F171
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1F171#FFFFFF#000000##000000
##F1F1711.001.2017.5617.56
#FFFFFF1.201.0021.0021.00
#00000017.5621.001.001.00
##00000017.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE864
Deuteranopia (green-blind)
#FFED78
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f1f171;
/* rgb */ color: rgb(241, 241, 113);
/* oklch */ color: oklch(93.3% 0.150 109.0);
Tailwind
colors: {
  custom: {
    50: '#f8f59d',
    500: '#f1f171',
    950: '#000000',
  },
}
SCSS
$custom: #f1f171;
$custom-light: #f8f59d;
$custom-dark: #000000;
JSON
{
  "hex": "#f1f171",
  "rgb": {
    "r": 241,
    "g": 241,
    "b": 113
  },
  "hsl": {
    "h": 60,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.93334,
    "c": 0.15002,
    "h": 109
  },
  "luminance": 0.82804
}

Semantic roles & 50–950 ramp

primary
#F1F171
secondary
#3C3CCA
accent
#07DE07
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F1F171

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

Preview Lab → · Contrast checker → · Palette generator →

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