#F9F481#F9F481

#F9F481 is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.8% C 0.137 H 106.5°. Best body text is #000000 at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#F9F481
RGBrgb(249, 244, 129)
HSLhsl(58, 91%, 74%)
HSVhsv(58, 48%, 98%)
CMYKcmyk(0%, 2%, 48.2%, 2.4%)
CIE-LABlab(94.50, -13.45, 55.52)
CIE-LCHlch(94.50, 57.13, 103.62°)
OKLaboklab(94.79% -0.0391 0.1317)
OKLCHoklch(94.79% 0.137 106.5)
XYZxyz(75.3819, 86.4281, 33.4760)
Luminance0.8643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F481 #8186F9
analogous
#F9B881 #F9F481 #C2F981
triadic
#F9F481 #81F9F4 #F481F9
tetradic
#F9F481 #81F9B8 #8186F9 #F981C2
square
#F9F481 #81F9B8 #8186F9 #F981C2
split-complementary
#F9F481 #81C2F9 #B881F9
monochromatic
#F3EA0C #F6EF47 #F9F481 #FCF9BB #FEFCE2

Accessibility & contrast

On white

1.15
#F9F481 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.29
#F9F481 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F481
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F481#FFFFFF#000000##000000
##F9F4811.001.1518.2918.29
#FFFFFF1.151.0021.0021.00
#00000018.2921.001.001.00
##00000018.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC77
Deuteranopia (green-blind)
#FFF287
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f9f481;
/* rgb */ color: rgb(249, 244, 129);
/* oklch */ color: oklch(94.8% 0.137 106.5);
Tailwind
colors: {
  custom: {
    50: '#fdf7a8',
    500: '#f9f481',
    950: '#000000',
  },
}
SCSS
$custom: #f9f481;
$custom-light: #fdf7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f481",
  "rgb": {
    "r": 249,
    "g": 244,
    "b": 129
  },
  "hsl": {
    "h": 57.5,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.94787,
    "c": 0.1374,
    "h": 106.5
  },
  "luminance": 0.86426
}

Semantic roles & 50–950 ramp

primary
#F9F481
secondary
#484ED6
accent
#0AE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F9F481

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

Preview Lab → · Contrast checker → · Palette generator →

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