#F4F371#F4F371

#F4F371 is a very light, vivid yellow. Relative luminance 0.845; OKLCH L 94.0% C 0.152 H 108.6°. Best body text is #000000 at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#F4F371
RGBrgb(244, 243, 113)
HSLhsl(60, 86%, 70%)
HSVhsv(60, 54%, 96%)
CMYKcmyk(0%, 0.4%, 53.7%, 4.3%)
CIE-LABlab(93.68, -16.24, 61.73)
CIE-LCHlch(93.68, 63.83, 104.74°)
OKLaboklab(93.99% -0.0484 0.1438)
OKLCHoklch(93.99% 0.152 108.6)
XYZxyz(72.3414, 84.5284, 28.1245)
Luminance0.8453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F371 #7172F4
analogous
#F4B271 #F4F371 #B3F471
triadic
#F4F371 #71F4F3 #F371F4
tetradic
#F4F371 #71F4B2 #7172F4 #F471B3
square
#F4F371 #71F4B2 #7172F4 #F471B3
split-complementary
#F4F371 #71B3F4 #B271F4
monochromatic
#DAD811 #F0EE38 #F4F371 #F8F8AA #FDFDE3

Accessibility & contrast

On white

1.17
#F4F371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.91
#F4F371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F371
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F371#FFFFFF#000000##000000
##F4F3711.001.1717.9117.91
#FFFFFF1.171.0021.0021.00
#00000017.9121.001.001.00
##00000017.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA64
Deuteranopia (green-blind)
#FFEF78
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f4f371;
/* rgb */ color: rgb(244, 243, 113);
/* oklch */ color: oklch(94.0% 0.152 108.6);
Tailwind
colors: {
  custom: {
    50: '#faf69e',
    500: '#f4f371',
    950: '#000000',
  },
}
SCSS
$custom: #f4f371;
$custom-light: #faf69e;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f371",
  "rgb": {
    "r": 244,
    "g": 243,
    "b": 113
  },
  "hsl": {
    "h": 59.542,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.93989,
    "c": 0.1517,
    "h": 108.6
  },
  "luminance": 0.84527
}

Semantic roles & 50–950 ramp

primary
#F4F371
secondary
#3B3CCE
accent
#05E203
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F4F371

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

Preview Lab → · Contrast checker → · Palette generator →

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