#F9E86F#F9E86F

#F9E86F is a very light, vivid yellow. Relative luminance 0.790; OKLCH L 92.1% C 0.142 H 101.4°. Best body text is #000000 at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#F9E86F
RGBrgb(249, 232, 111)
HSLhsl(53, 92%, 71%)
HSVhsv(53, 55%, 98%)
CMYKcmyk(0%, 6.8%, 55.4%, 2.4%)
CIE-LABlab(91.24, -8.99, 59.93)
CIE-LCHlch(91.24, 60.60, 98.53°)
OKLaboklab(92.14% -0.0281 0.1396)
OKLCHoklch(92.14% 0.142 101.4)
XYZxyz(70.7952, 79.0033, 26.5559)
Luminance0.7900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E86F #6F80F9
analogous
#F9A36F #F9E86F #C5F96F
triadic
#F9E86F #6FF9E8 #E86FF9
tetradic
#F9E86F #6FF9A3 #6F80F9 #F96FC5
square
#F9E86F #6FF9A3 #6F80F9 #F96FC5
split-complementary
#F9E86F #6FC5F9 #A36FF9
monochromatic
#E4C90A #F7DF34 #F9E86F #FBF1AA #FEFAE2

Accessibility & contrast

On white

1.25
#F9E86F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.80
#F9E86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E86F
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E86F#FFFFFF#000000##000000
##F9E86F1.001.2516.8016.80
#FFFFFF1.251.0021.0021.00
#00000016.8021.001.001.00
##00000016.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE263
Deuteranopia (green-blind)
#FFE975
Tritanopia (blue-blind)
#FFDACD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f9e86f;
/* rgb */ color: rgb(249, 232, 111);
/* oklch */ color: oklch(92.1% 0.142 101.4);
Tailwind
colors: {
  custom: {
    50: '#feef9c',
    500: '#f9e86f',
    950: '#000000',
  },
}
SCSS
$custom: #f9e86f;
$custom-light: #feef9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e86f",
  "rgb": {
    "r": 249,
    "g": 232,
    "b": 111
  },
  "hsl": {
    "h": 52.609,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92136,
    "c": 0.14242,
    "h": 101.4
  },
  "luminance": 0.79001
}

Semantic roles & 50–950 ramp

primary
#F9E86F
secondary
#384BD4
accent
#1CE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F9E86F

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

Preview Lab → · Contrast checker → · Palette generator →

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