#F9F781#F9F781

#F9F781 is a very light, vivid yellow. Relative luminance 0.882; OKLCH L 95.4% C 0.141 H 107.9°. Best body text is #000000 at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#F9F781
RGBrgb(249, 247, 129)
HSLhsl(59, 91%, 74%)
HSVhsv(59, 48%, 98%)
CMYKcmyk(0%, 0.8%, 48.2%, 2.4%)
CIE-LABlab(95.27, -14.92, 56.44)
CIE-LCHlch(95.27, 58.38, 104.80°)
OKLaboklab(95.4% -0.0433 0.1338)
OKLCHoklch(95.4% 0.141 107.9)
XYZxyz(76.2919, 88.2482, 33.7794)
Luminance0.8825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F781 #8183F9
analogous
#F9BB81 #F9F781 #BFF981
triadic
#F9F781 #81F9F7 #F781F9
tetradic
#F9F781 #81F9BB #8183F9 #F981BF
square
#F9F781 #81F9BB #8183F9 #F981BF
split-complementary
#F9F781 #81BFF9 #BB81F9
monochromatic
#F3F00C #F6F347 #F9F781 #FCFBBB #FEFDE2

Accessibility & contrast

On white

1.13
#F9F781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.65
#F9F781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F781
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F781#FFFFFF#000000##000000
##F9F7811.001.1318.6518.65
#FFFFFF1.131.0021.0021.00
#00000018.6521.001.001.00
##00000018.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF76
Deuteranopia (green-blind)
#FFF487
Tritanopia (blue-blind)
#FFEADC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f9f781;
/* rgb */ color: rgb(249, 247, 129);
/* oklch */ color: oklch(95.4% 0.141 107.9);
Tailwind
colors: {
  custom: {
    50: '#fdf9a8',
    500: '#f9f781',
    950: '#000000',
  },
}
SCSS
$custom: #f9f781;
$custom-light: #fdf9a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f781",
  "rgb": {
    "r": 249,
    "g": 247,
    "b": 129
  },
  "hsl": {
    "h": 59,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.954,
    "c": 0.14057,
    "h": 107.9
  },
  "luminance": 0.88246
}

Semantic roles & 50–950 ramp

primary
#F9F781
secondary
#484AD6
accent
#04E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F9F781

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

Preview Lab → · Contrast checker → · Palette generator →

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