#F6F171#F6F171

#F6F171 is a very light, vivid yellow. Relative luminance 0.837; OKLCH L 93.7% C 0.149 H 106.9°. Best body text is #000000 at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#F6F171
RGBrgb(246, 241, 113)
HSLhsl(58, 88%, 70%)
HSVhsv(58, 54%, 96%)
CMYKcmyk(0%, 2%, 54.1%, 3.5%)
CIE-LABlab(93.32, -14.47, 61.36)
CIE-LCHlch(93.32, 63.04, 103.27°)
OKLaboklab(93.74% -0.0434 0.143)
OKLCHoklch(93.74% 0.149 106.9)
XYZxyz(72.4440, 83.6978, 27.9588)
Luminance0.8370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F171 #7176F6
analogous
#F6AE71 #F6F171 #B9F671
triadic
#F6F171 #71F6F1 #F171F6
tetradic
#F6F171 #71F6AE #7176F6 #F671B9
square
#F6F171 #71F6AE #7176F6 #F671B9
split-complementary
#F6F171 #71B9F6 #AE71F6
monochromatic
#DED70E #F2EB37 #F6F171 #FAF7AB #FDFCE2

Accessibility & contrast

On white

1.18
#F6F171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.74
#F6F171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F171
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F171#FFFFFF#000000##000000
##F6F1711.001.1817.7417.74
#FFFFFF1.181.0021.0021.00
#00000017.7421.001.001.00
##00000017.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE964
Deuteranopia (green-blind)
#FFEE78
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f6f171;
/* rgb */ color: rgb(246, 241, 113);
/* oklch */ color: oklch(93.7% 0.149 106.9);
Tailwind
colors: {
  custom: {
    50: '#fcf59d',
    500: '#f6f171',
    950: '#000000',
  },
}
SCSS
$custom: #f6f171;
$custom-light: #fcf59d;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f171",
  "rgb": {
    "r": 246,
    "g": 241,
    "b": 113
  },
  "hsl": {
    "h": 57.744,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.93739,
    "c": 0.1494,
    "h": 106.9
  },
  "luminance": 0.83696
}

Semantic roles & 50–950 ramp

primary
#F6F171
secondary
#3B40D0
accent
#09E501
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F6F171

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

Preview Lab → · Contrast checker → · Palette generator →

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