#F9F989#F9F989

#F9F989 is a very light, vivid yellow. Relative luminance 0.897; OKLCH L 95.9% C 0.135 H 108.7°. Best body text is #000000 at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#F9F989
RGBrgb(249, 249, 137)
HSLhsl(60, 90%, 76%)
HSVhsv(60, 45%, 98%)
CMYKcmyk(0%, 0%, 45%, 2.4%)
CIE-LABlab(95.87, -15.17, 53.45)
CIE-LCHlch(95.87, 55.56, 105.85°)
OKLaboklab(95.91% -0.0432 0.1278)
OKLCHoklch(95.91% 0.135 108.7)
XYZxyz(77.4595, 89.6990, 36.8953)
Luminance0.8970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F989 #8989F9
analogous
#F9C189 #F9F989 #C1F989
triadic
#F9F989 #89F9F9 #F989F9
tetradic
#F9F989 #89F9C1 #8989F9 #F989C1
square
#F9F989 #89F9C1 #8989F9 #F989C1
split-complementary
#F9F989 #89C1F9 #C189F9
monochromatic
#F3F315 #F6F64F #F9F989 #FCFCC3 #FEFEE2

Accessibility & contrast

On white

1.11
#F9F989 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.94
#F9F989 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F989
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F989#FFFFFF#000000##000000
##F9F9891.001.1118.9418.94
#FFFFFF1.111.0021.0021.00
#00000018.9421.001.001.00
##00000018.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF17F
Deuteranopia (green-blind)
#FFF58E
Tritanopia (blue-blind)
#FFEDDF
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f9f989;
/* rgb */ color: rgb(249, 249, 137);
/* oklch */ color: oklch(95.9% 0.135 108.7);
Tailwind
colors: {
  custom: {
    50: '#fdfbad',
    500: '#f9f989',
    950: '#000000',
  },
}
SCSS
$custom: #f9f989;
$custom-light: #fdfbad;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f989",
  "rgb": {
    "r": 249,
    "g": 249,
    "b": 137
  },
  "hsl": {
    "h": 60,
    "s": 90.323,
    "l": 75.686
  },
  "oklch": {
    "l": 0.95912,
    "c": 0.1349,
    "h": 108.7
  },
  "luminance": 0.89697
}

Semantic roles & 50–950 ramp

primary
#F9F989
secondary
#4F4FD7
accent
#00E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F9F989

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

Preview Lab → · Contrast checker → · Palette generator →

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