#F9F281#F9F281

#F9F281 is a very light, vivid yellow. Relative luminance 0.852; OKLCH L 94.4% C 0.135 H 105.5°. Best body text is #000000 at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#F9F281
RGBrgb(249, 242, 129)
HSLhsl(57, 91%, 74%)
HSVhsv(57, 48%, 98%)
CMYKcmyk(0%, 2.8%, 48.2%, 2.4%)
CIE-LABlab(93.98, -12.47, 54.91)
CIE-LCHlch(93.98, 56.31, 102.80°)
OKLaboklab(94.38% -0.0363 0.1304)
OKLCHoklch(94.38% 0.135 105.5)
XYZxyz(74.7833, 85.2311, 33.2765)
Luminance0.8523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F281 #8188F9
analogous
#F9B681 #F9F281 #C4F981
triadic
#F9F281 #81F9F2 #F281F9
tetradic
#F9F281 #81F9B6 #8188F9 #F981C4
square
#F9F281 #81F9B6 #8188F9 #F981C4
split-complementary
#F9F281 #81C4F9 #B681F9
monochromatic
#F3E60C #F6EC47 #F9F281 #FCF8BB #FEFCE2

Accessibility & contrast

On white

1.16
#F9F281 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.05
#F9F281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F281
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F281#FFFFFF#000000##000000
##F9F2811.001.1618.0518.05
#FFFFFF1.161.0021.0021.00
#00000018.0521.001.001.00
##00000018.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB77
Deuteranopia (green-blind)
#FFF086
Tritanopia (blue-blind)
#FFE5D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f9f281;
/* rgb */ color: rgb(249, 242, 129);
/* oklch */ color: oklch(94.4% 0.135 105.5);
Tailwind
colors: {
  custom: {
    50: '#fdf6a8',
    500: '#f9f281',
    950: '#000000',
  },
}
SCSS
$custom: #f9f281;
$custom-light: #fdf6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f281",
  "rgb": {
    "r": 249,
    "g": 242,
    "b": 129
  },
  "hsl": {
    "h": 56.5,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.9438,
    "c": 0.13534,
    "h": 105.5
  },
  "luminance": 0.85229
}

Semantic roles & 50–950 ramp

primary
#F9F281
secondary
#4850D6
accent
#0DE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F9F281

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

Preview Lab → · Contrast checker → · Palette generator →

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