#F6F371#F6F371

#F6F371 is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.2% C 0.151 H 107.8°. Best body text is #000000 at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#F6F371
RGBrgb(246, 243, 113)
HSLhsl(59, 88%, 70%)
HSVhsv(59, 54%, 96%)
CMYKcmyk(0%, 1.2%, 54.1%, 3.5%)
CIE-LABlab(93.83, -15.45, 61.95)
CIE-LCHlch(93.83, 63.85, 104.00°)
OKLaboklab(94.15% -0.0462 0.1442)
OKLCHoklch(94.15% 0.151 107.8)
XYZxyz(73.0393, 84.8883, 28.1572)
Luminance0.8489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F371 #7174F6
analogous
#F6B171 #F6F371 #B6F671
triadic
#F6F371 #71F6F3 #F371F6
tetradic
#F6F371 #71F6B1 #7174F6 #F671B6
square
#F6F371 #71F6B1 #7174F6 #F671B6
split-complementary
#F6F371 #71B6F6 #B171F6
monochromatic
#DEDA0E #F2EE37 #F6F371 #FAF8AB #FDFDE2

Accessibility & contrast

On white

1.17
#F6F371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.98
#F6F371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F371
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F371#FFFFFF#000000##000000
##F6F3711.001.1717.9817.98
#FFFFFF1.171.0021.0021.00
#00000017.9821.001.001.00
##00000017.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA64
Deuteranopia (green-blind)
#FFF078
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f6f371;
/* rgb */ color: rgb(246, 243, 113);
/* oklch */ color: oklch(94.2% 0.151 107.8);
Tailwind
colors: {
  custom: {
    50: '#fcf69e',
    500: '#f6f371',
    950: '#000000',
  },
}
SCSS
$custom: #f6f371;
$custom-light: #fcf69e;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f371",
  "rgb": {
    "r": 246,
    "g": 243,
    "b": 113
  },
  "hsl": {
    "h": 58.647,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.9415,
    "c": 0.15145,
    "h": 107.8
  },
  "luminance": 0.84886
}

Semantic roles & 50–950 ramp

primary
#F6F371
secondary
#3B3ED0
accent
#06E501
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F6F371

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

Preview Lab → · Contrast checker → · Palette generator →

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