#F6F771#F6F771

#F6F771 is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 95.0% C 0.156 H 109.4°. Best body text is #000000 at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#F6F771
RGBrgb(246, 247, 113)
HSLhsl(60, 89%, 71%)
HSVhsv(60, 54%, 97%)
CMYKcmyk(0.4%, 0%, 54.3%, 3.1%)
CIE-LABlab(94.87, -17.39, 63.13)
CIE-LCHlch(94.87, 65.48, 105.40°)
OKLaboklab(94.97% -0.0517 0.1468)
OKLCHoklch(94.97% 0.156 109.4)
XYZxyz(74.2494, 87.3085, 28.5605)
Luminance0.8731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F771 #7271F7
analogous
#F7B571 #F6F771 #B3F771
triadic
#F6F771 #71F6F7 #F771F6
tetradic
#F6F771 #71F7B5 #7271F7 #F771B3
square
#F6F771 #71F7B5 #7271F7 #F771B3
split-complementary
#F6F771 #71B3F7 #B571F7
monochromatic
#DFE10D #F2F437 #F6F771 #FAFAAB #FDFDE2

Accessibility & contrast

On white

1.14
#F6F771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.46
#F6F771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F771
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F771#FFFFFF#000000##000000
##F6F7711.001.1418.4618.46
#FFFFFF1.141.0021.0021.00
#00000018.4621.001.001.00
##00000018.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE63
Deuteranopia (green-blind)
#FFF278
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f6f771;
/* rgb */ color: rgb(246, 247, 113);
/* oklch */ color: oklch(95.0% 0.156 109.4);
Tailwind
colors: {
  custom: {
    50: '#fcf99e',
    500: '#f6f771',
    950: '#000000',
  },
}
SCSS
$custom: #f6f771;
$custom-light: #fcf99e;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f771",
  "rgb": {
    "r": 246,
    "g": 247,
    "b": 113
  },
  "hsl": {
    "h": 60.448,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.94974,
    "c": 0.1556,
    "h": 109.4
  },
  "luminance": 0.87307
}

Semantic roles & 50–950 ramp

primary
#F6F771
secondary
#3C3AD2
accent
#00E602
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F6F771

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

Preview Lab → · Contrast checker → · Palette generator →

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