#F4E771#F4E771

#F4E771 is a very light, vivid yellow. Relative luminance 0.776; OKLCH L 91.5% C 0.140 H 103.0°. Best body text is #000000 at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#F4E771
RGBrgb(244, 231, 113)
HSLhsl(54, 86%, 70%)
HSVhsv(54, 54%, 96%)
CMYKcmyk(0%, 5.3%, 53.7%, 4.3%)
CIE-LABlab(90.59, -10.35, 58.17)
CIE-LCHlch(90.59, 59.09, 100.08°)
OKLaboklab(91.53% -0.0315 0.1361)
OKLCHoklch(91.53% 0.14 103)
XYZxyz(68.8669, 77.5795, 26.9663)
Luminance0.7758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E771 #717EF4
analogous
#F4A671 #F4E771 #BFF471
triadic
#F4E771 #71F4E7 #E771F4
tetradic
#F4E771 #71F4A6 #717EF4 #F471BF
square
#F4E771 #71F4A6 #717EF4 #F471BF
split-complementary
#F4E771 #71BFF4 #A671F4
monochromatic
#DAC611 #F0DD38 #F4E771 #F8F1AA #FDFAE3

Accessibility & contrast

On white

1.27
#F4E771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.52
#F4E771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E771
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E771#FFFFFF#000000##000000
##F4E7711.001.2716.5216.52
#FFFFFF1.271.0021.0021.00
#00000016.5221.001.001.00
##00000016.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E066
Deuteranopia (green-blind)
#FDE777
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f4e771;
/* rgb */ color: rgb(244, 231, 113);
/* oklch */ color: oklch(91.5% 0.140 103.0);
Tailwind
colors: {
  custom: {
    50: '#faee9d',
    500: '#f4e771',
    950: '#000000',
  },
}
SCSS
$custom: #f4e771;
$custom-light: #faee9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e771",
  "rgb": {
    "r": 244,
    "g": 231,
    "b": 113
  },
  "hsl": {
    "h": 54.046,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.91529,
    "c": 0.13972,
    "h": 103
  },
  "luminance": 0.77577
}

Semantic roles & 50–950 ramp

primary
#F4E771
secondary
#3B4ACE
accent
#19E203
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F4E771

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

Preview Lab → · Contrast checker → · Palette generator →

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