#F4F971#F4F971

#F4F971 is a very light, vivid yellow. Relative luminance 0.882; OKLCH L 95.2% C 0.158 H 111.0°. Best body text is #000000 at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#F4F971
RGBrgb(244, 249, 113)
HSLhsl(62, 92%, 71%)
HSVhsv(62, 55%, 98%)
CMYKcmyk(2%, 0%, 54.6%, 2.4%)
CIE-LABlab(95.24, -19.15, 63.50)
CIE-LCHlch(95.24, 66.33, 106.78°)
OKLaboklab(95.23% -0.0566 0.1476)
OKLCHoklch(95.23% 0.158 111)
XYZxyz(74.1664, 88.1784, 28.7328)
Luminance0.8818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F971 #7671F9
analogous
#F9BA71 #F4F971 #B0F971
triadic
#F4F971 #71F4F9 #F971F4
tetradic
#F4F971 #71F9BA #7671F9 #F971B0
square
#F4F971 #71F9BA #7671F9 #F971B0
split-complementary
#F4F971 #71B0F9 #BA71F9
monochromatic
#DEE60A #EFF736 #F4F971 #F9FBAC #FDFEE2

Accessibility & contrast

On white

1.13
#F4F971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.64
#F4F971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F971
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F971#FFFFFF#000000##000000
##F4F9711.001.1318.6418.64
#FFFFFF1.131.0021.0021.00
#00000018.6421.001.001.00
##00000018.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF63
Deuteranopia (green-blind)
#FFF379
Tritanopia (blue-blind)
#FFECDB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f4f971;
/* rgb */ color: rgb(244, 249, 113);
/* oklch */ color: oklch(95.2% 0.158 111.0);
Tailwind
colors: {
  custom: {
    50: '#fafb9e',
    500: '#f4f971',
    950: '#000000',
  },
}
SCSS
$custom: #f4f971;
$custom-light: #fafb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f971",
  "rgb": {
    "r": 244,
    "g": 249,
    "b": 113
  },
  "hsl": {
    "h": 62.206,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.9523,
    "c": 0.15807,
    "h": 111
  },
  "luminance": 0.88177
}

Semantic roles & 50–950 ramp

primary
#F4F971
secondary
#403AD4
accent
#00E608
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F4F971

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

Preview Lab → · Contrast checker → · Palette generator →

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