#F4F571#F4F571

#F4F571 is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.4% C 0.154 H 109.4°. Best body text is #000000 at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#F4F571
RGBrgb(244, 245, 113)
HSLhsl(60, 87%, 70%)
HSVhsv(60, 54%, 96%)
CMYKcmyk(0.4%, 0%, 53.9%, 3.9%)
CIE-LABlab(94.20, -17.21, 62.32)
CIE-LCHlch(94.20, 64.66, 105.44°)
OKLaboklab(94.4% -0.0511 0.1451)
OKLCHoklch(94.4% 0.154 109.4)
XYZxyz(72.9432, 85.7320, 28.3250)
Luminance0.8573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F571 #7271F5
analogous
#F5B471 #F4F571 #B2F571
triadic
#F4F571 #71F4F5 #F571F4
tetradic
#F4F571 #71F5B4 #7271F5 #F571B2
square
#F4F571 #71F5B4 #7271F5 #F571B2
split-complementary
#F4F571 #71B2F5 #B471F5
monochromatic
#DBDC10 #F0F138 #F4F571 #F8F9AA #FDFDE2

Accessibility & contrast

On white

1.16
#F4F571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.15
#F4F571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F571
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F571#FFFFFF#000000##000000
##F4F5711.001.1618.1518.15
#FFFFFF1.161.0021.0021.00
#00000018.1521.001.001.00
##00000018.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC64
Deuteranopia (green-blind)
#FFF078
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f4f571;
/* rgb */ color: rgb(244, 245, 113);
/* oklch */ color: oklch(94.4% 0.154 109.4);
Tailwind
colors: {
  custom: {
    50: '#faf89e',
    500: '#f4f571',
    950: '#000000',
  },
}
SCSS
$custom: #f4f571;
$custom-light: #faf89e;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f571",
  "rgb": {
    "r": 244,
    "g": 245,
    "b": 113
  },
  "hsl": {
    "h": 60.455,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.94402,
    "c": 0.1538,
    "h": 109.4
  },
  "luminance": 0.8573
}

Semantic roles & 50–950 ramp

primary
#F4F571
secondary
#3C3BCF
accent
#02E304
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F4F571

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

Preview Lab → · Contrast checker → · Palette generator →

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