#F7D671#F7D671

#F7D671 is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 88.4% C 0.126 H 91.6°. Best body text is #000000 at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#F7D671
RGBrgb(247, 214, 113)
HSLhsl(45, 89%, 71%)
HSVhsv(45, 54%, 97%)
CMYKcmyk(0%, 13.4%, 54.3%, 3.1%)
CIE-LABlab(86.54, -0.57, 53.50)
CIE-LCHlch(86.54, 53.50, 90.61°)
OKLaboklab(88.38% -0.0035 0.1259)
OKLCHoklch(88.38% 0.126 91.6)
XYZxyz(65.3876, 69.0627, 25.5058)
Luminance0.6906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D671 #7192F7
analogous
#F79371 #F7D671 #D5F771
triadic
#F7D671 #71F7D6 #D671F7
tetradic
#F7D671 #71F793 #7192F7 #F771D5
square
#F7D671 #71F793 #7192F7 #F771D5
split-complementary
#F7D671 #71D5F7 #9371F7
monochromatic
#E1AD0D #F4C537 #F7D671 #FAE7AB #FDF7E2

Accessibility & contrast

On white

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

On black

14.81
#F7D671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D671
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D671#FFFFFF#000000##000000
##F7D6711.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7d671;
/* rgb */ color: rgb(247, 214, 113);
/* oklch */ color: oklch(88.4% 0.126 91.6);
Tailwind
colors: {
  custom: {
    50: '#fce29c',
    500: '#f7d671',
    950: '#000000',
  },
}
SCSS
$custom: #f7d671;
$custom-light: #fce29c;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d671",
  "rgb": {
    "r": 247,
    "g": 214,
    "b": 113
  },
  "hsl": {
    "h": 45.224,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.88382,
    "c": 0.12597,
    "h": 91.6
  },
  "luminance": 0.6906
}

Semantic roles & 50–950 ramp

primary
#F7D671
secondary
#3A60D2
accent
#39E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F7D671

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

Preview Lab → · Contrast checker → · Palette generator →

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