#F6F571#F6F571

#F6F571 is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.6% C 0.154 H 108.6°. Best body text is #000000 at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#F6F571
RGBrgb(246, 245, 113)
HSLhsl(60, 88%, 70%)
HSVhsv(60, 54%, 96%)
CMYKcmyk(0%, 0.4%, 54.1%, 3.5%)
CIE-LABlab(94.35, -16.42, 62.54)
CIE-LCHlch(94.35, 64.66, 104.71°)
OKLaboklab(94.56% -0.049 0.1455)
OKLCHoklch(94.56% 0.154 108.6)
XYZxyz(73.6411, 86.0918, 28.3578)
Luminance0.8609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F571 #7172F6
analogous
#F6B271 #F6F571 #B4F671
triadic
#F6F571 #71F6F5 #F571F6
tetradic
#F6F571 #71F6B2 #7172F6 #F671B4
square
#F6F571 #71F6B2 #7172F6 #F671B4
split-complementary
#F6F571 #71B4F6 #B271F6
monochromatic
#DEDD0E #F2F137 #F6F571 #FAF9AB #FDFDE2

Accessibility & contrast

On white

1.15
#F6F571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.22
#F6F571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F571
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F571#FFFFFF#000000##000000
##F6F5711.001.1518.2218.22
#FFFFFF1.151.0021.0021.00
#00000018.2221.001.001.00
##00000018.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC64
Deuteranopia (green-blind)
#FFF178
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f6f571;
/* rgb */ color: rgb(246, 245, 113);
/* oklch */ color: oklch(94.6% 0.154 108.6);
Tailwind
colors: {
  custom: {
    50: '#fcf89e',
    500: '#f6f571',
    950: '#000000',
  },
}
SCSS
$custom: #f6f571;
$custom-light: #fcf89e;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f571",
  "rgb": {
    "r": 246,
    "g": 245,
    "b": 113
  },
  "hsl": {
    "h": 59.549,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.94562,
    "c": 0.15351,
    "h": 108.6
  },
  "luminance": 0.8609
}

Semantic roles & 50–950 ramp

primary
#F6F571
secondary
#3B3CD0
accent
#03E501
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F6F571

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

Preview Lab → · Contrast checker → · Palette generator →

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