#FFF671#FFF671

#FFF671 is a very light, vivid yellow. Relative luminance 0.884; OKLCH L 95.5% C 0.154 H 105.4°. Best body text is #000000 at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#FFF671
RGBrgb(255, 246, 113)
HSLhsl(56, 100%, 72%)
HSVhsv(56, 56%, 100%)
CMYKcmyk(0%, 3.5%, 55.7%, 0%)
CIE-LABlab(95.31, -13.34, 63.82)
CIE-LCHlch(95.31, 65.20, 101.80°)
OKLaboklab(95.5% -0.0407 0.1481)
OKLCHoklch(95.5% 0.154 105.4)
XYZxyz(77.1788, 88.3663, 28.6105)
Luminance0.8836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF671 #717AFF
analogous
#FFAF71 #FFF671 #C1FF71
triadic
#FFF671 #71FFF6 #F671FF
tetradic
#FFF671 #71FFAF #717AFF #FF71C1
square
#FFF671 #71FFAF #717AFF #FF71C1
split-complementary
#FFF671 #71C1FF #AF71FF
monochromatic
#F6E600 #FFF234 #FFF671 #FFFAAE #FFFDE0

Accessibility & contrast

On white

1.12
#FFF671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.67
#FFF671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF671
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF671#FFFFFF#000000##000000
##FFF6711.001.1218.6718.67
#FFFFFF1.121.0021.0021.00
#00000018.6721.001.001.00
##00000018.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE63
Deuteranopia (green-blind)
#FFF478
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fff671;
/* rgb */ color: rgb(255, 246, 113);
/* oklch */ color: oklch(95.5% 0.154 105.4);
Tailwind
colors: {
  custom: {
    50: '#fff89e',
    500: '#fff671',
    950: '#000000',
  },
}
SCSS
$custom: #fff671;
$custom-light: #fff89e;
$custom-dark: #000000;
JSON
{
  "hex": "#fff671",
  "rgb": {
    "r": 255,
    "g": 246,
    "b": 113
  },
  "hsl": {
    "h": 56.197,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.955,
    "c": 0.15356,
    "h": 105.4
  },
  "luminance": 0.88364
}

Semantic roles & 50–950 ramp

primary
#FFF671
secondary
#3843DC
accent
#0FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FFF671

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

Preview Lab → · Contrast checker → · Palette generator →

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