#F4E871#F4E871

#F4E871 is a very light, vivid yellow. Relative luminance 0.781; OKLCH L 91.7% C 0.141 H 103.5°. Best body text is #000000 at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#F4E871
RGBrgb(244, 232, 113)
HSLhsl(55, 86%, 70%)
HSVhsv(55, 54%, 96%)
CMYKcmyk(0%, 4.9%, 53.7%, 4.3%)
CIE-LABlab(90.84, -10.84, 58.47)
CIE-LCHlch(90.84, 59.47, 100.50°)
OKLaboklab(91.73% -0.0329 0.1368)
OKLCHoklch(91.73% 0.141 103.5)
XYZxyz(69.1476, 78.1409, 27.0599)
Luminance0.7814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E871 #717DF4
analogous
#F4A771 #F4E871 #BEF471
triadic
#F4E871 #71F4E8 #E871F4
tetradic
#F4E871 #71F4A7 #717DF4 #F471BE
square
#F4E871 #71F4A7 #717DF4 #F471BE
split-complementary
#F4E871 #71BEF4 #A771F4
monochromatic
#DAC711 #F0DF38 #F4E871 #F8F1AA #FDFAE3

Accessibility & contrast

On white

1.26
#F4E871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.63
#F4E871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E871
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E871#FFFFFF#000000##000000
##F4E8711.001.2616.6316.63
#FFFFFF1.261.0021.0021.00
#00000016.6321.001.001.00
##00000016.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE165
Deuteranopia (green-blind)
#FEE877
Tritanopia (blue-blind)
#FFDACD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f4e871;
/* rgb */ color: rgb(244, 232, 113);
/* oklch */ color: oklch(91.7% 0.141 103.5);
Tailwind
colors: {
  custom: {
    50: '#faef9d',
    500: '#f4e871',
    950: '#000000',
  },
}
SCSS
$custom: #f4e871;
$custom-light: #faef9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e871",
  "rgb": {
    "r": 244,
    "g": 232,
    "b": 113
  },
  "hsl": {
    "h": 54.504,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.91733,
    "c": 0.14067,
    "h": 103.5
  },
  "luminance": 0.78139
}

Semantic roles & 50–950 ramp

primary
#F4E871
secondary
#3B49CE
accent
#18E203
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F4E871

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

Preview Lab → · Contrast checker → · Palette generator →

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