#F9F985#F9F985

#F9F985 is a very light, vivid yellow. Relative luminance 0.896; OKLCH L 95.9% C 0.139 H 108.8°. Best body text is #000000 at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#F9F985
RGBrgb(249, 249, 133)
HSLhsl(60, 91%, 75%)
HSVhsv(60, 47%, 98%)
CMYKcmyk(0%, 0%, 46.6%, 2.4%)
CIE-LABlab(95.82, -15.54, 55.26)
CIE-LCHlch(95.82, 57.40, 105.70°)
OKLaboklab(95.86% -0.0446 0.1315)
OKLCHoklch(95.86% 0.139 108.8)
XYZxyz(77.1779, 89.5863, 35.4121)
Luminance0.8959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F985 #8585F9
analogous
#F9BF85 #F9F985 #BFF985
triadic
#F9F985 #85F9F9 #F985F9
tetradic
#F9F985 #85F9BF #8585F9 #F985BF
square
#F9F985 #85F9BF #8585F9 #F985BF
split-complementary
#F9F985 #85BFF9 #BF85F9
monochromatic
#F3F310 #F6F64B #F9F985 #FCFCBF #FEFEE2

Accessibility & contrast

On white

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

On black

18.92
#F9F985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F985
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F985#FFFFFF#000000##000000
##F9F9851.001.1118.9218.92
#FFFFFF1.111.0021.0021.00
#00000018.9221.001.001.00
##00000018.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF17B
Deuteranopia (green-blind)
#FFF58B
Tritanopia (blue-blind)
#FFECDE
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f9f985;
/* rgb */ color: rgb(249, 249, 133);
/* oklch */ color: oklch(95.9% 0.139 108.8);
Tailwind
colors: {
  custom: {
    50: '#fdfbab',
    500: '#f9f985',
    950: '#000000',
  },
}
SCSS
$custom: #f9f985;
$custom-light: #fdfbab;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f985",
  "rgb": {
    "r": 249,
    "g": 249,
    "b": 133
  },
  "hsl": {
    "h": 60,
    "s": 90.625,
    "l": 74.902
  },
  "oklch": {
    "l": 0.9586,
    "c": 0.13885,
    "h": 108.8
  },
  "luminance": 0.89585
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F9F985

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

Preview Lab → · Contrast checker → · Palette generator →

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