#F9F58D#F9F58D

#F9F58D is a very light, vivid yellow. Relative luminance 0.874; OKLCH L 95.2% C 0.126 H 106.6°. Best body text is #000000 at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#F9F58D
RGBrgb(249, 245, 141)
HSLhsl(58, 90%, 76%)
HSVhsv(58, 43%, 98%)
CMYKcmyk(0%, 1.6%, 43.4%, 2.4%)
CIE-LABlab(94.89, -12.84, 50.35)
CIE-LCHlch(94.89, 51.96, 104.30°)
OKLaboklab(95.15% -0.0362 0.1212)
OKLCHoklch(95.15% 0.126 106.6)
XYZxyz(76.5285, 87.3695, 38.0268)
Luminance0.8737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F58D #8D91F9
analogous
#F9BF8D #F9F58D #C7F98D
triadic
#F9F58D #8DF9F5 #F58DF9
tetradic
#F9F58D #8DF9BF #8D91F9 #F98DC7
square
#F9F58D #8DF9BF #8D91F9 #F98DC7
split-complementary
#F9F58D #8DC7F9 #BF8DF9
monochromatic
#F3EB19 #F6F053 #F9F58D #FCFAC7 #FDFCE2

Accessibility & contrast

On white

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

On black

18.47
#F9F58D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F58D
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F58D#FFFFFF#000000##000000
##F9F58D1.001.1418.4718.47
#FFFFFF1.141.0021.0021.00
#00000018.4721.001.001.00
##00000018.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE84
Deuteranopia (green-blind)
#FFF292
Tritanopia (blue-blind)
#FFE9DC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f9f58d;
/* rgb */ color: rgb(249, 245, 141);
/* oklch */ color: oklch(95.2% 0.126 106.6);
Tailwind
colors: {
  custom: {
    50: '#fdf8b0',
    500: '#f9f58d',
    950: '#000000',
  },
}
SCSS
$custom: #f9f58d;
$custom-light: #fdf8b0;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f58d",
  "rgb": {
    "r": 249,
    "g": 245,
    "b": 141
  },
  "hsl": {
    "h": 57.778,
    "s": 90,
    "l": 76.471
  },
  "oklch": {
    "l": 0.95151,
    "c": 0.12646,
    "h": 106.6
  },
  "luminance": 0.87368
}

Semantic roles & 50–950 ramp

primary
#F9F58D
secondary
#5257D8
accent
#08E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181711
muted
#868581

Preview Lab

Preview with #F9F58D

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

Preview Lab → · Contrast checker → · Palette generator →

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