#F7E971#F7E971

#F7E971 is a very light, vivid yellow. Relative luminance 0.792; OKLCH L 92.2% C 0.142 H 102.7°. Best body text is #000000 at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#F7E971
RGBrgb(247, 233, 113)
HSLhsl(54, 89%, 71%)
HSVhsv(54, 54%, 97%)
CMYKcmyk(0%, 5.7%, 54.3%, 3.1%)
CIE-LABlab(91.35, -10.14, 59.11)
CIE-LCHlch(91.35, 59.98, 99.73°)
OKLaboklab(92.19% -0.0311 0.1381)
OKLCHoklch(92.19% 0.142 102.7)
XYZxyz(70.4796, 79.2467, 27.2032)
Luminance0.7924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E971 #717FF7
analogous
#F7A671 #F7E971 #C2F771
triadic
#F7E971 #71F7E9 #E971F7
tetradic
#F7E971 #71F7A6 #717FF7 #F771C2
square
#F7E971 #71F7A6 #717FF7 #F771C2
split-complementary
#F7E971 #71C2F7 #A671F7
monochromatic
#E1CB0D #F4E037 #F7E971 #FAF2AB #FDFBE2

Accessibility & contrast

On white

1.25
#F7E971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.85
#F7E971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E971
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E971#FFFFFF#000000##000000
##F7E9711.001.2516.8516.85
#FFFFFF1.251.0021.0021.00
#00000016.8521.001.001.00
##00000016.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE265
Deuteranopia (green-blind)
#FFE977
Tritanopia (blue-blind)
#FFDBCE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f7e971;
/* rgb */ color: rgb(247, 233, 113);
/* oklch */ color: oklch(92.2% 0.142 102.7);
Tailwind
colors: {
  custom: {
    50: '#fcef9d',
    500: '#f7e971',
    950: '#000000',
  },
}
SCSS
$custom: #f7e971;
$custom-light: #fcef9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e971",
  "rgb": {
    "r": 247,
    "g": 233,
    "b": 113
  },
  "hsl": {
    "h": 53.731,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.9219,
    "c": 0.14156,
    "h": 102.7
  },
  "luminance": 0.79244
}

Semantic roles & 50–950 ramp

primary
#F7E971
secondary
#3A4AD2
accent
#18E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F7E971

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

Preview Lab → · Contrast checker → · Palette generator →

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