#F9F588#F9F588

#F9F588 is a very light, vivid yellow. Relative luminance 0.872; OKLCH L 95.1% C 0.132 H 106.8°. Best body text is #000000 at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#F9F588
RGBrgb(249, 245, 136)
HSLhsl(58, 90%, 75%)
HSVhsv(58, 45%, 98%)
CMYKcmyk(0%, 1.6%, 45.4%, 2.4%)
CIE-LABlab(94.83, -13.31, 52.65)
CIE-LCHlch(94.83, 54.31, 104.19°)
OKLaboklab(95.08% -0.038 0.1259)
OKLCHoklch(95.08% 0.132 106.8)
XYZxyz(76.1649, 87.2241, 36.1115)
Luminance0.8722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F588 #888CF9
analogous
#F9BC88 #F9F588 #C4F988
triadic
#F9F588 #88F9F5 #F588F9
tetradic
#F9F588 #88F9BC #888CF9 #F988C4
square
#F9F588 #88F9BC #888CF9 #F988C4
split-complementary
#F9F588 #88C4F9 #BC88F9
monochromatic
#F3EB13 #F6F04E #F9F588 #FCFAC2 #FEFDE2

Accessibility & contrast

On white

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

On black

18.44
#F9F588 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F588
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F588#FFFFFF#000000##000000
##F9F5881.001.1418.4418.44
#FFFFFF1.141.0021.0021.00
#00000018.4421.001.001.00
##00000018.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED7F
Deuteranopia (green-blind)
#FFF28D
Tritanopia (blue-blind)
#FFE9DB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f9f588;
/* rgb */ color: rgb(249, 245, 136);
/* oklch */ color: oklch(95.1% 0.132 106.8);
Tailwind
colors: {
  custom: {
    50: '#fdf8ad',
    500: '#f9f588',
    950: '#000000',
  },
}
SCSS
$custom: #f9f588;
$custom-light: #fdf8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f588",
  "rgb": {
    "r": 249,
    "g": 245,
    "b": 136
  },
  "hsl": {
    "h": 57.876,
    "s": 90.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.95082,
    "c": 0.13155,
    "h": 106.8
  },
  "luminance": 0.87222
}

Semantic roles & 50–950 ramp

primary
#F9F588
secondary
#4E53D7
accent
#08E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F9F588

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

Preview Lab → · Contrast checker → · Palette generator →

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