#F9ED71#F9ED71

#F9ED71 is a very light, vivid yellow. Relative luminance 0.819; OKLCH L 93.2% C 0.145 H 103.8°. Best body text is #000000 at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#F9ED71
RGBrgb(249, 237, 113)
HSLhsl(55, 92%, 71%)
HSVhsv(55, 55%, 98%)
CMYKcmyk(0%, 4.8%, 54.6%, 2.4%)
CIE-LABlab(92.53, -11.31, 60.52)
CIE-LCHlch(92.53, 61.57, 100.59°)
OKLaboklab(93.17% -0.0346 0.1411)
OKLCHoklch(93.17% 0.145 103.8)
XYZxyz(72.3340, 81.9028, 27.6181)
Luminance0.8190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9ED71 #717DF9
analogous
#F9A971 #F9ED71 #C1F971
triadic
#F9ED71 #71F9ED #ED71F9
tetradic
#F9ED71 #71F9A9 #717DF9 #F971C1
square
#F9ED71 #71F9A9 #717DF9 #F971C1
split-complementary
#F9ED71 #71C1F9 #A971F9
monochromatic
#E6D20A #F7E636 #F9ED71 #FBF4AC #FEFBE2

Accessibility & contrast

On white

1.21
#F9ED71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.38
#F9ED71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9ED71
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9ED71#FFFFFF#000000##000000
##F9ED711.001.2117.3817.38
#FFFFFF1.211.0021.0021.00
#00000017.3821.001.001.00
##00000017.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE665
Deuteranopia (green-blind)
#FFEC77
Tritanopia (blue-blind)
#FFDFD1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f9ed71;
/* rgb */ color: rgb(249, 237, 113);
/* oklch */ color: oklch(93.2% 0.145 103.8);
Tailwind
colors: {
  custom: {
    50: '#fef29d',
    500: '#f9ed71',
    950: '#000000',
  },
}
SCSS
$custom: #f9ed71;
$custom-light: #fef29d;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ed71",
  "rgb": {
    "r": 249,
    "g": 237,
    "b": 113
  },
  "hsl": {
    "h": 54.706,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.93171,
    "c": 0.14527,
    "h": 103.8
  },
  "luminance": 0.819
}

Semantic roles & 50–950 ramp

primary
#F9ED71
secondary
#3A48D4
accent
#14E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F9ED71

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

Preview Lab → · Contrast checker → · Palette generator →

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