#F4F771#F4F771

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

Color values

HEX#F4F771
RGBrgb(244, 247, 113)
HSLhsl(61, 89%, 71%)
HSVhsv(61, 54%, 97%)
CMYKcmyk(1.2%, 0%, 54.3%, 3.1%)
CIE-LABlab(94.72, -18.18, 62.91)
CIE-LCHlch(94.72, 65.49, 106.12°)
OKLaboklab(94.82% -0.0539 0.1463)
OKLCHoklch(94.82% 0.156 110.2)
XYZxyz(73.5515, 86.9486, 28.5278)
Luminance0.8695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4F771 #7471F7
analogous
#F7B771 #F4F771 #B1F771
triadic
#F4F771 #71F4F7 #F771F4
tetradic
#F4F771 #71F7B7 #7471F7 #F771B1
square
#F4F771 #71F7B7 #7471F7 #F771B1
split-complementary
#F4F771 #71B1F7 #B771F7
monochromatic
#DCE10D #F0F437 #F4F771 #F8FAAB #FDFDE2

Accessibility & contrast

On white

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

On black

18.39
#F4F771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4F771
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4F771#FFFFFF#000000##000000
##F4F7711.001.1418.3918.39
#FFFFFF1.141.0021.0021.00
#00000018.3921.001.001.00
##00000018.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f4f771;
/* rgb */ color: rgb(244, 247, 113);
/* oklch */ color: oklch(94.8% 0.156 110.2);
Tailwind
colors: {
  custom: {
    50: '#faf99e',
    500: '#f4f771',
    950: '#000000',
  },
}
SCSS
$custom: #f4f771;
$custom-light: #faf99e;
$custom-dark: #000000;
JSON
{
  "hex": "#f4f771",
  "rgb": {
    "r": 244,
    "g": 247,
    "b": 113
  },
  "hsl": {
    "h": 61.343,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.94815,
    "c": 0.15592,
    "h": 110.2
  },
  "luminance": 0.86947
}

Semantic roles & 50–950 ramp

primary
#F4F771
secondary
#3E3AD2
accent
#00E605
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F4F771

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

Preview Lab → · Contrast checker → · Palette generator →

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