#F5F588#F5F588

#F5F588 is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.8% C 0.132 H 108.7°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#F5F588
RGBrgb(245, 245, 136)
HSLhsl(60, 84%, 75%)
HSVhsv(60, 44%, 96%)
CMYKcmyk(0%, 0%, 44.5%, 3.9%)
CIE-LABlab(94.52, -14.87, 52.20)
CIE-LCHlch(94.52, 54.28, 105.89°)
OKLaboklab(94.76% -0.0422 0.125)
OKLCHoklch(94.76% 0.132 108.7)
XYZxyz(74.7540, 86.4965, 36.0454)
Luminance0.8649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F588 #8888F5
analogous
#F5BF88 #F5F588 #BFF588
triadic
#F5F588 #88F5F5 #F588F5
tetradic
#F5F588 #88F5BF #8888F5 #F588BF
square
#F5F588 #88F5BF #8888F5 #F588BF
split-complementary
#F5F588 #88BFF5 #BF88F5
monochromatic
#ECEC17 #F0F050 #F5F588 #FAFAC0 #FDFDE3

Accessibility & contrast

On white

1.15
#F5F588 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.30
#F5F588 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F588
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F588#FFFFFF#000000##000000
##F5F5881.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5f588;
/* rgb */ color: rgb(245, 245, 136);
/* oklch */ color: oklch(94.8% 0.132 108.7);
Tailwind
colors: {
  custom: {
    50: '#faf8ad',
    500: '#f5f588',
    950: '#000000',
  },
}
SCSS
$custom: #f5f588;
$custom-light: #faf8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f588",
  "rgb": {
    "r": 245,
    "g": 245,
    "b": 136
  },
  "hsl": {
    "h": 60,
    "s": 84.496,
    "l": 74.706
  },
  "oklch": {
    "l": 0.94761,
    "c": 0.13195,
    "h": 108.7
  },
  "luminance": 0.86495
}

Semantic roles & 50–950 ramp

primary
#F5F588
secondary
#4F4FD2
accent
#05E105
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F5F588

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

Preview Lab → · Contrast checker → · Palette generator →

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