#F9EC71#F9EC71

#F9EC71 is a very light, vivid yellow. Relative luminance 0.813; OKLCH L 93.0% C 0.144 H 103.3°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#F9EC71
RGBrgb(249, 236, 113)
HSLhsl(54, 92%, 71%)
HSVhsv(54, 55%, 98%)
CMYKcmyk(0%, 5.2%, 54.6%, 2.4%)
CIE-LABlab(92.28, -10.82, 60.23)
CIE-LCHlch(92.28, 61.19, 100.18°)
OKLaboklab(92.97% -0.0332 0.1405)
OKLCHoklch(92.97% 0.144 103.3)
XYZxyz(72.0453, 81.3254, 27.5219)
Luminance0.8132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EC71 #717EF9
analogous
#F9A871 #F9EC71 #C2F971
triadic
#F9EC71 #71F9EC #EC71F9
tetradic
#F9EC71 #71F9A8 #717EF9 #F971C2
square
#F9EC71 #71F9A8 #717EF9 #F971C2
split-complementary
#F9EC71 #71C2F9 #A871F9
monochromatic
#E6D10A #F7E436 #F9EC71 #FBF4AC #FEFBE2

Accessibility & contrast

On white

1.22
#F9EC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.26
#F9EC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EC71
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EC71#FFFFFF#000000##000000
##F9EC711.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE565
Deuteranopia (green-blind)
#FFEC77
Tritanopia (blue-blind)
#FFDED1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f9ec71;
/* rgb */ color: rgb(249, 236, 113);
/* oklch */ color: oklch(93.0% 0.144 103.3);
Tailwind
colors: {
  custom: {
    50: '#fef19d',
    500: '#f9ec71',
    950: '#000000',
  },
}
SCSS
$custom: #f9ec71;
$custom-light: #fef19d;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ec71",
  "rgb": {
    "r": 249,
    "g": 236,
    "b": 113
  },
  "hsl": {
    "h": 54.265,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.92968,
    "c": 0.14432,
    "h": 103.3
  },
  "luminance": 0.81323
}

Semantic roles & 50–950 ramp

primary
#F9EC71
secondary
#3A49D4
accent
#16E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F9EC71

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

Preview Lab → · Contrast checker → · Palette generator →

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