#F9F189#F9F189

#F9F189 is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.3% C 0.126 H 104.7°. Best body text is #000000 at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#F9F189
RGBrgb(249, 241, 137)
HSLhsl(56, 90%, 76%)
HSVhsv(56, 45%, 98%)
CMYKcmyk(0%, 3.2%, 45%, 2.4%)
CIE-LABlab(93.82, -11.25, 50.94)
CIE-LCHlch(93.82, 52.17, 102.46°)
OKLaboklab(94.28% -0.032 0.1222)
OKLCHoklch(94.28% 0.126 104.7)
XYZxyz(75.0393, 84.8585, 36.0886)
Luminance0.8486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F189 #8991F9
analogous
#F9B989 #F9F189 #C9F989
triadic
#F9F189 #89F9F1 #F189F9
tetradic
#F9F189 #89F9B9 #8991F9 #F989C9
square
#F9F189 #89F9B9 #8991F9 #F989C9
split-complementary
#F9F189 #89C9F9 #B989F9
monochromatic
#F3E315 #F6EA4F #F9F189 #FCF8C3 #FEFCE2

Accessibility & contrast

On white

1.17
#F9F189 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.97
#F9F189 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F189
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F189#FFFFFF#000000##000000
##F9F1891.001.1717.9717.97
#FFFFFF1.171.0021.0021.00
#00000017.9721.001.001.00
##00000017.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA80
Deuteranopia (green-blind)
#FFF08E
Tritanopia (blue-blind)
#FFE5D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f9f189;
/* rgb */ color: rgb(249, 241, 137);
/* oklch */ color: oklch(94.3% 0.126 104.7);
Tailwind
colors: {
  custom: {
    50: '#fdf5ad',
    500: '#f9f189',
    950: '#000000',
  },
}
SCSS
$custom: #f9f189;
$custom-light: #fdf5ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f189",
  "rgb": {
    "r": 249,
    "g": 241,
    "b": 137
  },
  "hsl": {
    "h": 55.714,
    "s": 90.323,
    "l": 75.686
  },
  "oklch": {
    "l": 0.94283,
    "c": 0.12633,
    "h": 104.7
  },
  "luminance": 0.84856
}

Semantic roles & 50–950 ramp

primary
#F9F189
secondary
#4F59D7
accent
#10E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F9F189

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

Preview Lab → · Contrast checker → · Palette generator →

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