#F4EC71#F4EC71

#F4EC71 is a very light, vivid yellow. Relative luminance 0.804; OKLCH L 92.5% C 0.145 H 105.5°. Best body text is #000000 at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#F4EC71
RGBrgb(244, 236, 113)
HSLhsl(56, 86%, 70%)
HSVhsv(56, 54%, 96%)
CMYKcmyk(0%, 3.3%, 53.7%, 4.3%)
CIE-LABlab(91.87, -12.82, 59.66)
CIE-LCHlch(91.87, 61.02, 102.13°)
OKLaboklab(92.55% -0.0386 0.1393)
OKLCHoklch(92.55% 0.145 105.5)
XYZxyz(70.2864, 80.4184, 27.4395)
Luminance0.8042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4EC71 #7179F4
analogous
#F4AB71 #F4EC71 #BAF471
triadic
#F4EC71 #71F4EC #EC71F4
tetradic
#F4EC71 #71F4AB #7179F4 #F471BA
square
#F4EC71 #71F4AB #7179F4 #F471BA
split-complementary
#F4EC71 #71BAF4 #AB71F4
monochromatic
#DACD11 #F0E438 #F4EC71 #F8F4AA #FDFBE3

Accessibility & contrast

On white

1.23
#F4EC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.08
#F4EC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4EC71
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4EC71#FFFFFF#000000##000000
##F4EC711.001.2317.0817.08
#FFFFFF1.231.0021.0021.00
#00000017.0821.001.001.00
##00000017.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE465
Deuteranopia (green-blind)
#FFEA77
Tritanopia (blue-blind)
#FFDFD1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f4ec71;
/* rgb */ color: rgb(244, 236, 113);
/* oklch */ color: oklch(92.5% 0.145 105.5);
Tailwind
colors: {
  custom: {
    50: '#faf19d',
    500: '#f4ec71',
    950: '#000000',
  },
}
SCSS
$custom: #f4ec71;
$custom-light: #faf19d;
$custom-dark: #000000;
JSON
{
  "hex": "#f4ec71",
  "rgb": {
    "r": 244,
    "g": 236,
    "b": 113
  },
  "hsl": {
    "h": 56.336,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.9255,
    "c": 0.14457,
    "h": 105.5
  },
  "luminance": 0.80416
}

Semantic roles & 50–950 ramp

primary
#F4EC71
secondary
#3B44CE
accent
#11E203
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F4EC71

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

Preview Lab → · Contrast checker → · Palette generator →

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