#F6D671#F6D671

#F6D671 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 88.3% C 0.126 H 92.1°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#F6D671
RGBrgb(246, 214, 113)
HSLhsl(46, 88%, 70%)
HSVhsv(46, 54%, 96%)
CMYKcmyk(0%, 13%, 54.1%, 3.5%)
CIE-LABlab(86.45, -0.98, 53.37)
CIE-LCHlch(86.45, 53.38, 91.05°)
OKLaboklab(88.29% -0.0046 0.1257)
OKLCHoklch(88.29% 0.126 92.1)
XYZxyz(65.0358, 68.8813, 25.4893)
Luminance0.6888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6D671 #7191F6
analogous
#F69371 #F6D671 #D3F671
triadic
#F6D671 #71F6D6 #D671F6
tetradic
#F6D671 #71F693 #7191F6 #F671D3
square
#F6D671 #71F693 #7191F6 #F671D3
split-complementary
#F6D671 #71D3F6 #9371F6
monochromatic
#DEAC0E #F2C537 #F6D671 #FAE7AB #FDF7E2

Accessibility & contrast

On white

1.42
#F6D671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.78
#F6D671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6D671
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6D671#FFFFFF#000000##000000
##F6D6711.001.4214.7814.78
#FFFFFF1.421.0021.0021.00
#00000014.7821.001.001.00
##00000014.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D368
Deuteranopia (green-blind)
#F1DC75
Tritanopia (blue-blind)
#FFC8BF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f6d671;
/* rgb */ color: rgb(246, 214, 113);
/* oklch */ color: oklch(88.3% 0.126 92.1);
Tailwind
colors: {
  custom: {
    50: '#fce29c',
    500: '#f6d671',
    950: '#000000',
  },
}
SCSS
$custom: #f6d671;
$custom-light: #fce29c;
$custom-dark: #000000;
JSON
{
  "hex": "#f6d671",
  "rgb": {
    "r": 246,
    "g": 214,
    "b": 113
  },
  "hsl": {
    "h": 45.564,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.8829,
    "c": 0.12575,
    "h": 92.1
  },
  "luminance": 0.68878
}

Semantic roles & 50–950 ramp

primary
#F6D671
secondary
#3B5FD0
accent
#38E501
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F6D671

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

Preview Lab → · Contrast checker → · Palette generator →

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