#F9F280#F9F280

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

Color values

HEX#F9F280
RGBrgb(249, 242, 128)
HSLhsl(57, 91%, 74%)
HSVhsv(57, 49%, 98%)
CMYKcmyk(0%, 2.8%, 48.6%, 2.4%)
CIE-LABlab(93.97, -12.56, 55.36)
CIE-LCHlch(93.97, 56.77, 102.78°)
OKLaboklab(94.37% -0.0366 0.1313)
OKLCHoklch(94.37% 0.136 105.6)
XYZxyz(74.7172, 85.2046, 32.9282)
Luminance0.8520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F280 #8087F9
analogous
#F9B680 #F9F280 #C4F980
triadic
#F9F280 #80F9F2 #F280F9
tetradic
#F9F280 #80F9B6 #8087F9 #F980C4
square
#F9F280 #80F9B6 #8087F9 #F980C4
split-complementary
#F9F280 #80C4F9 #B680F9
monochromatic
#F3E60B #F6EC46 #F9F280 #FCF8BA #FEFCE2

Accessibility & contrast

On white

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

On black

18.04
#F9F280 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F280
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F280#FFFFFF#000000##000000
##F9F2801.001.1618.0418.04
#FFFFFF1.161.0021.0021.00
#00000018.0421.001.001.00
##00000018.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9f280;
/* rgb */ color: rgb(249, 242, 128);
/* oklch */ color: oklch(94.4% 0.136 105.6);
Tailwind
colors: {
  custom: {
    50: '#fdf6a7',
    500: '#f9f280',
    950: '#000000',
  },
}
SCSS
$custom: #f9f280;
$custom-light: #fdf6a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f280",
  "rgb": {
    "r": 249,
    "g": 242,
    "b": 128
  },
  "hsl": {
    "h": 56.529,
    "s": 90.977,
    "l": 73.922
  },
  "oklch": {
    "l": 0.94367,
    "c": 0.13631,
    "h": 105.6
  },
  "luminance": 0.85203
}

Semantic roles & 50–950 ramp

primary
#F9F280
secondary
#474FD6
accent
#0DE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #F9F280

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

Preview Lab → · Contrast checker → · Palette generator →

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