#F9F181#F9F181

#F9F181 is a very light, vivid yellow. Relative luminance 0.846; OKLCH L 94.2% C 0.134 H 105.0°. Best body text is #000000 at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#F9F181
RGBrgb(249, 241, 129)
HSLhsl(56, 91%, 74%)
HSVhsv(56, 48%, 98%)
CMYKcmyk(0%, 3.2%, 48.2%, 2.4%)
CIE-LABlab(93.73, -11.98, 54.60)
CIE-LCHlch(93.73, 55.90, 102.37°)
OKLaboklab(94.18% -0.0348 0.1297)
OKLCHoklch(94.18% 0.134 105)
XYZxyz(74.4865, 84.6375, 33.1776)
Luminance0.8464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F181 #8189F9
analogous
#F9B581 #F9F181 #C5F981
triadic
#F9F181 #81F9F1 #F181F9
tetradic
#F9F181 #81F9B5 #8189F9 #F981C5
square
#F9F181 #81F9B5 #8189F9 #F981C5
split-complementary
#F9F181 #81C5F9 #B581F9
monochromatic
#F3E40C #F6EB47 #F9F181 #FCF7BB #FEFCE2

Accessibility & contrast

On white

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

On black

17.93
#F9F181 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F181
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F181#FFFFFF#000000##000000
##F9F1811.001.1717.9317.93
#FFFFFF1.171.0021.0021.00
#00000017.9321.001.001.00
##00000017.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA77
Deuteranopia (green-blind)
#FFF086
Tritanopia (blue-blind)
#FFE4D7
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f9f181;
/* rgb */ color: rgb(249, 241, 129);
/* oklch */ color: oklch(94.2% 0.134 105.0);
Tailwind
colors: {
  custom: {
    50: '#fdf5a8',
    500: '#f9f181',
    950: '#000000',
  },
}
SCSS
$custom: #f9f181;
$custom-light: #fdf5a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f181",
  "rgb": {
    "r": 249,
    "g": 241,
    "b": 129
  },
  "hsl": {
    "h": 56,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.94176,
    "c": 0.13431,
    "h": 105
  },
  "luminance": 0.84635
}

Semantic roles & 50–950 ramp

primary
#F9F181
secondary
#4851D6
accent
#0FE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F9F181

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

Preview Lab → · Contrast checker → · Palette generator →

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