#F4E371#F4E371

#F4E371 is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.7% C 0.136 H 100.9°. Best body text is #000000 at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#F4E371
RGBrgb(244, 227, 113)
HSLhsl(52, 86%, 70%)
HSVhsv(52, 54%, 96%)
CMYKcmyk(0%, 7%, 53.7%, 4.3%)
CIE-LABlab(89.56, -8.35, 56.98)
CIE-LCHlch(89.56, 57.59, 98.34°)
OKLaboklab(90.72% -0.0258 0.1336)
OKLCHoklch(90.72% 0.136 100.9)
XYZxyz(67.7602, 75.3660, 26.5974)
Luminance0.7536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E371 #7182F4
analogous
#F4A271 #F4E371 #C3F471
triadic
#F4E371 #71F4E3 #E371F4
tetradic
#F4E371 #71F4A2 #7182F4 #F471C3
square
#F4E371 #71F4A2 #7182F4 #F471C3
split-complementary
#F4E371 #71C3F4 #A271F4
monochromatic
#DAC011 #F0D838 #F4E371 #F8EEAA #FDF9E3

Accessibility & contrast

On white

1.31
#F4E371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.07
#F4E371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E371
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E371#FFFFFF#000000##000000
##F4E3711.001.3116.0716.07
#FFFFFF1.311.0021.0021.00
#00000016.0721.001.001.00
##00000016.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD66
Deuteranopia (green-blind)
#FAE476
Tritanopia (blue-blind)
#FFD5C9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f4e371;
/* rgb */ color: rgb(244, 227, 113);
/* oklch */ color: oklch(90.7% 0.136 100.9);
Tailwind
colors: {
  custom: {
    50: '#faeb9d',
    500: '#f4e371',
    950: '#000000',
  },
}
SCSS
$custom: #f4e371;
$custom-light: #faeb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e371",
  "rgb": {
    "r": 244,
    "g": 227,
    "b": 113
  },
  "hsl": {
    "h": 52.214,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.90717,
    "c": 0.13602,
    "h": 100.9
  },
  "luminance": 0.75364
}

Semantic roles & 50–950 ramp

primary
#F4E371
secondary
#3B4ECE
accent
#20E203
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F4E371

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

Preview Lab → · Contrast checker → · Palette generator →

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