#F7F671#F7F671

#F7F671 is a very light, vivid yellow. Relative luminance 0.869; OKLCH L 94.8% C 0.154 H 108.6°. Best body text is #000000 at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#F7F671
RGBrgb(247, 246, 113)
HSLhsl(60, 89%, 71%)
HSVhsv(60, 54%, 97%)
CMYKcmyk(0%, 0.4%, 54.3%, 3.1%)
CIE-LABlab(94.69, -16.51, 62.94)
CIE-LCHlch(94.69, 65.07, 104.70°)
OKLaboklab(94.85% -0.0493 0.1463)
OKLCHoklch(94.85% 0.154 108.6)
XYZxyz(74.2962, 86.8799, 28.4754)
Luminance0.8688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F671 #7172F7
analogous
#F7B371 #F7F671 #B5F771
triadic
#F7F671 #71F7F6 #F671F7
tetradic
#F7F671 #71F7B3 #7172F7 #F771B5
square
#F7F671 #71F7B3 #7172F7 #F771B5
split-complementary
#F7F671 #71B5F7 #B371F7
monochromatic
#E1DF0D #F4F237 #F7F671 #FAFAAB #FDFDE2

Accessibility & contrast

On white

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

On black

18.38
#F7F671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F671
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F671#FFFFFF#000000##000000
##F7F6711.001.1418.3818.38
#FFFFFF1.141.0021.0021.00
#00000018.3821.001.001.00
##00000018.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7f671;
/* rgb */ color: rgb(247, 246, 113);
/* oklch */ color: oklch(94.8% 0.154 108.6);
Tailwind
colors: {
  custom: {
    50: '#fcf99e',
    500: '#f7f671',
    950: '#000000',
  },
}
SCSS
$custom: #f7f671;
$custom-light: #fcf99e;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f671",
  "rgb": {
    "r": 247,
    "g": 246,
    "b": 113
  },
  "hsl": {
    "h": 59.552,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.94848,
    "c": 0.15441,
    "h": 108.6
  },
  "luminance": 0.86878
}

Semantic roles & 50–950 ramp

primary
#F7F671
secondary
#3A3CD2
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F671

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

Preview Lab → · Contrast checker → · Palette generator →

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