#F9F582#F9F582

#F9F582 is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 95.0% C 0.137 H 107.0°. Best body text is #000000 at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#F9F582
RGBrgb(249, 245, 130)
HSLhsl(58, 91%, 74%)
HSVhsv(58, 48%, 98%)
CMYKcmyk(0%, 1.6%, 47.8%, 2.4%)
CIE-LABlab(94.76, -13.85, 55.38)
CIE-LCHlch(94.76, 57.09, 104.04°)
OKLaboklab(95% -0.0401 0.1315)
OKLCHoklch(95% 0.137 107)
XYZxyz(75.7504, 87.0582, 33.9284)
Luminance0.8706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F582 #8286F9
analogous
#F9BA82 #F9F582 #C2F982
triadic
#F9F582 #82F9F5 #F582F9
tetradic
#F9F582 #82F9BA #8286F9 #F982C2
square
#F9F582 #82F9BA #8286F9 #F982C2
split-complementary
#F9F582 #82C2F9 #BA82F9
monochromatic
#F3EC0D #F6F048 #F9F582 #FCFABC #FEFDE2

Accessibility & contrast

On white

1.14
#F9F582 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.41
#F9F582 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F582
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F582#FFFFFF#000000##000000
##F9F5821.001.1418.4118.41
#FFFFFF1.141.0021.0021.00
#00000018.4121.001.001.00
##00000018.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED78
Deuteranopia (green-blind)
#FFF288
Tritanopia (blue-blind)
#FFE8DA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f9f582;
/* rgb */ color: rgb(249, 245, 130);
/* oklch */ color: oklch(95.0% 0.137 107.0);
Tailwind
colors: {
  custom: {
    50: '#fdf8a9',
    500: '#f9f582',
    950: '#000000',
  },
}
SCSS
$custom: #f9f582;
$custom-light: #fdf8a9;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f582",
  "rgb": {
    "r": 249,
    "g": 245,
    "b": 130
  },
  "hsl": {
    "h": 57.983,
    "s": 90.84,
    "l": 74.314
  },
  "oklch": {
    "l": 0.95004,
    "c": 0.13748,
    "h": 107
  },
  "luminance": 0.87056
}

Semantic roles & 50–950 ramp

primary
#F9F582
secondary
#494ED6
accent
#08E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F9F582

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

Preview Lab → · Contrast checker → · Palette generator →

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