#F6F671#F6F671

#F6F671 is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 94.8% C 0.155 H 109.0°. Best body text is #000000 at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#F6F671
RGBrgb(246, 246, 113)
HSLhsl(60, 88%, 70%)
HSVhsv(60, 54%, 96%)
CMYKcmyk(0%, 0%, 54.1%, 3.5%)
CIE-LABlab(94.61, -16.91, 62.83)
CIE-LCHlch(94.61, 65.07, 105.06°)
OKLaboklab(94.77% -0.0504 0.1461)
OKLCHoklch(94.77% 0.155 109)
XYZxyz(73.9444, 86.6985, 28.4589)
Luminance0.8670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F671 #7171F6
analogous
#F6B371 #F6F671 #B3F671
triadic
#F6F671 #71F6F6 #F671F6
tetradic
#F6F671 #71F6B3 #7171F6 #F671B3
square
#F6F671 #71F6B3 #7171F6 #F671B3
split-complementary
#F6F671 #71B3F6 #B371F6
monochromatic
#DEDE0E #F2F237 #F6F671 #FAFAAB #FDFDE2

Accessibility & contrast

On white

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

On black

18.34
#F6F671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F671
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F671#FFFFFF#000000##000000
##F6F6711.001.1518.3418.34
#FFFFFF1.151.0021.0021.00
#00000018.3421.001.001.00
##00000018.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED63
Deuteranopia (green-blind)
#FFF278
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f6f671;
/* rgb */ color: rgb(246, 246, 113);
/* oklch */ color: oklch(94.8% 0.155 109.0);
Tailwind
colors: {
  custom: {
    50: '#fcf99e',
    500: '#f6f671',
    950: '#000000',
  },
}
SCSS
$custom: #f6f671;
$custom-light: #fcf99e;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f671",
  "rgb": {
    "r": 246,
    "g": 246,
    "b": 113
  },
  "hsl": {
    "h": 60,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.94768,
    "c": 0.15456,
    "h": 109
  },
  "luminance": 0.86697
}

Semantic roles & 50–950 ramp

primary
#F6F671
secondary
#3B3BD0
accent
#01E501
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F6F671

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

Preview Lab → · Contrast checker → · Palette generator →

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