#F9EA6F#F9EA6F

#F9EA6F is a very light, vivid yellow. Relative luminance 0.801; OKLCH L 92.5% C 0.144 H 102.4°. Best body text is #000000 at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#F9EA6F
RGBrgb(249, 234, 111)
HSLhsl(53, 92%, 71%)
HSVhsv(53, 55%, 98%)
CMYKcmyk(0%, 6%, 55.4%, 2.4%)
CIE-LABlab(91.75, -9.98, 60.52)
CIE-LCHlch(91.75, 61.33, 99.36°)
OKLaboklab(92.54% -0.031 0.1409)
OKLCHoklch(92.54% 0.144 102.4)
XYZxyz(71.3614, 80.1356, 26.7446)
Luminance0.8013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EA6F #6F7EF9
analogous
#F9A56F #F9EA6F #C3F96F
triadic
#F9EA6F #6FF9EA #EA6FF9
tetradic
#F9EA6F #6FF9A5 #6F7EF9 #F96FC3
square
#F9EA6F #6FF9A5 #6F7EF9 #F96FC3
split-complementary
#F9EA6F #6FC3F9 #A56FF9
monochromatic
#E4CC0A #F7E134 #F9EA6F #FBF3AA #FEFBE2

Accessibility & contrast

On white

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

On black

17.03
#F9EA6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EA6F
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EA6F#FFFFFF#000000##000000
##F9EA6F1.001.2317.0317.03
#FFFFFF1.231.0021.0021.00
#00000017.0321.001.001.00
##00000017.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE363
Deuteranopia (green-blind)
#FFEA75
Tritanopia (blue-blind)
#FFDCCF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f9ea6f;
/* rgb */ color: rgb(249, 234, 111);
/* oklch */ color: oklch(92.5% 0.144 102.4);
Tailwind
colors: {
  custom: {
    50: '#fef09c',
    500: '#f9ea6f',
    950: '#000000',
  },
}
SCSS
$custom: #f9ea6f;
$custom-light: #fef09c;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ea6f",
  "rgb": {
    "r": 249,
    "g": 234,
    "b": 111
  },
  "hsl": {
    "h": 53.478,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92541,
    "c": 0.14423,
    "h": 102.4
  },
  "luminance": 0.80133
}

Semantic roles & 50–950 ramp

primary
#F9EA6F
secondary
#3849D4
accent
#19E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F9EA6F

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

Preview Lab → · Contrast checker → · Palette generator →

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