#F6D771#F6D771

#F6D771 is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 88.5% C 0.126 H 92.8°. Best body text is #000000 at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#F6D771
RGBrgb(246, 215, 113)
HSLhsl(46, 88%, 70%)
HSVhsv(46, 54%, 96%)
CMYKcmyk(0%, 12.6%, 54.1%, 3.5%)
CIE-LABlab(86.70, -1.49, 53.66)
CIE-LCHlch(86.70, 53.68, 91.59°)
OKLaboklab(88.49% -0.0061 0.1263)
OKLCHoklch(88.49% 0.126 92.8)
XYZxyz(65.2897, 69.3890, 25.5740)
Luminance0.6939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6D771 #7190F6
analogous
#F69471 #F6D771 #D2F671
triadic
#F6D771 #71F6D7 #D771F6
tetradic
#F6D771 #71F694 #7190F6 #F671D2
square
#F6D771 #71F694 #7190F6 #F671D2
split-complementary
#F6D771 #71D2F6 #9471F6
monochromatic
#DEAE0E #F2C737 #F6D771 #FAE7AB #FDF7E2

Accessibility & contrast

On white

1.41
#F6D771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.88
#F6D771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6D771
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6D771#FFFFFF#000000##000000
##F6D7711.001.4114.8814.88
#FFFFFF1.411.0021.0021.00
#00000014.8821.001.001.00
##00000014.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD468
Deuteranopia (green-blind)
#F2DD75
Tritanopia (blue-blind)
#FFC9C0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f6d771;
/* rgb */ color: rgb(246, 215, 113);
/* oklch */ color: oklch(88.5% 0.126 92.8);
Tailwind
colors: {
  custom: {
    50: '#fce39c',
    500: '#f6d771',
    950: '#000000',
  },
}
SCSS
$custom: #f6d771;
$custom-light: #fce39c;
$custom-dark: #000000;
JSON
{
  "hex": "#f6d771",
  "rgb": {
    "r": 246,
    "g": 215,
    "b": 113
  },
  "hsl": {
    "h": 46.015,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.88488,
    "c": 0.12645,
    "h": 92.8
  },
  "luminance": 0.69386
}

Semantic roles & 50–950 ramp

primary
#F6D771
secondary
#3B5ED0
accent
#36E501
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F6D771

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

Preview Lab → · Contrast checker → · Palette generator →

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