#F9F87A#F9F87A

#F9F87A is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.5% C 0.148 H 108.5°. Best body text is #000000 at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#F9F87A
RGBrgb(249, 248, 122)
HSLhsl(60, 91%, 73%)
HSVhsv(60, 51%, 98%)
CMYKcmyk(0%, 0.4%, 51%, 2.4%)
CIE-LABlab(95.45, -15.99, 59.85)
CIE-LCHlch(95.45, 61.95, 104.96°)
OKLaboklab(95.52% -0.047 0.1406)
OKLCHoklch(95.52% 0.148 108.5)
XYZxyz(76.1491, 88.6816, 31.5145)
Luminance0.8868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F87A #7A7BF9
analogous
#F9B97A #F9F87A #BAF97A
triadic
#F9F87A #7AF9F8 #F87AF9
tetradic
#F9F87A #7AF9B9 #7A7BF9 #F97ABA
square
#F9F87A #7AF9B9 #7A7BF9 #F97ABA
split-complementary
#F9F87A #7ABAF9 #B97AF9
monochromatic
#EEEC0B #F6F53F #F9F87A #FCFBB5 #FEFDE2

Accessibility & contrast

On white

1.12
#F9F87A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.74
#F9F87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F87A
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F87A#FFFFFF#000000##000000
##F9F87A1.001.1218.7418.74
#FFFFFF1.121.0021.0021.00
#00000018.7421.001.001.00
##00000018.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF6E
Deuteranopia (green-blind)
#FFF480
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f9f87a;
/* rgb */ color: rgb(249, 248, 122);
/* oklch */ color: oklch(95.5% 0.148 108.5);
Tailwind
colors: {
  custom: {
    50: '#fefaa4',
    500: '#f9f87a',
    950: '#000000',
  },
}
SCSS
$custom: #f9f87a;
$custom-light: #fefaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f87a",
  "rgb": {
    "r": 249,
    "g": 248,
    "b": 122
  },
  "hsl": {
    "h": 59.528,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.9552,
    "c": 0.14821,
    "h": 108.5
  },
  "luminance": 0.8868
}

Semantic roles & 50–950 ramp

primary
#F9F87A
secondary
#4243D5
accent
#02E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F87A

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

Preview Lab → · Contrast checker → · Palette generator →

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