#F8F588#F8F588

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

Color values

HEX#F8F588
RGBrgb(248, 245, 136)
HSLhsl(58, 89%, 75%)
HSVhsv(58, 45%, 97%)
CMYKcmyk(0%, 1.2%, 45.2%, 2.7%)
CIE-LABlab(94.76, -13.70, 52.54)
CIE-LCHlch(94.76, 54.30, 104.62°)
OKLaboklab(95% -0.0391 0.1257)
OKLCHoklch(95% 0.132 107.3)
XYZxyz(75.8093, 87.0407, 36.0949)
Luminance0.8704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F588 #888BF8
analogous
#F8BD88 #F8F588 #C3F888
triadic
#F8F588 #88F8F5 #F588F8
tetradic
#F8F588 #88F8BD #888BF8 #F888C3
square
#F8F588 #88F8BD #888BF8 #F888C3
split-complementary
#F8F588 #88C3F8 #BD88F8
monochromatic
#F1EB14 #F5F04E #F8F588 #FBFAC2 #FDFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8F588#FFFFFF#000000##000000
##F8F5881.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)
#FFED7F
Deuteranopia (green-blind)
#FFF28D
Tritanopia (blue-blind)
#FFE9DB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f8f588;
/* rgb */ color: rgb(248, 245, 136);
/* oklch */ color: oklch(95.0% 0.132 107.3);
Tailwind
colors: {
  custom: {
    50: '#fcf8ad',
    500: '#f8f588',
    950: '#000000',
  },
}
SCSS
$custom: #f8f588;
$custom-light: #fcf8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f588",
  "rgb": {
    "r": 248,
    "g": 245,
    "b": 136
  },
  "hsl": {
    "h": 58.393,
    "s": 88.889,
    "l": 75.294
  },
  "oklch": {
    "l": 0.95002,
    "c": 0.13164,
    "h": 107.3
  },
  "luminance": 0.87039
}

Semantic roles & 50–950 ramp

primary
#F8F588
secondary
#4E52D6
accent
#06E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F8F588

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

Preview Lab → · Contrast checker → · Palette generator →

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