#FFF587#FFF587

#FFF587 is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.6% C 0.132 H 104.0°. Best body text is #000000 at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#FFF587
RGBrgb(255, 245, 135)
HSLhsl(55, 100%, 76%)
HSVhsv(55, 47%, 100%)
CMYKcmyk(0%, 3.9%, 47.1%, 0%)
CIE-LABlab(95.29, -11.06, 53.79)
CIE-LCHlch(95.29, 54.92, 101.62°)
OKLaboklab(95.56% -0.032 0.1283)
OKLCHoklch(95.56% 0.132 104)
XYZxyz(78.2675, 88.3164, 35.8409)
Luminance0.8831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF587 #8791FF
analogous
#FFB987 #FFF587 #CDFF87
triadic
#FFF587 #87FFF5 #F587FF
tetradic
#FFF587 #87FFB9 #8791FF #FF87CD
square
#FFF587 #87FFB9 #8791FF #FF87CD
split-complementary
#FFF587 #87CDFF #B987FF
monochromatic
#FFEB0D #FFF04A #FFF587 #FFFAC4 #FFFCE0

Accessibility & contrast

On white

1.13
#FFF587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.66
#FFF587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF587
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF587#FFFFFF#000000##000000
##FFF5871.001.1318.6618.66
#FFFFFF1.131.0021.0021.00
#00000018.6621.001.001.00
##00000018.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE7E
Deuteranopia (green-blind)
#FFF48C
Tritanopia (blue-blind)
#FFE8DB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fff587;
/* rgb */ color: rgb(255, 245, 135);
/* oklch */ color: oklch(95.6% 0.132 104.0);
Tailwind
colors: {
  custom: {
    50: '#fff8ac',
    500: '#fff587',
    950: '#000000',
  },
}
SCSS
$custom: #fff587;
$custom-light: #fff8ac;
$custom-dark: #000000;
JSON
{
  "hex": "#fff587",
  "rgb": {
    "r": 255,
    "g": 245,
    "b": 135
  },
  "hsl": {
    "h": 55,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.95559,
    "c": 0.13224,
    "h": 104
  },
  "luminance": 0.88314
}

Semantic roles & 50–950 ramp

primary
#FFF587
secondary
#4B57DF
accent
#13E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFF587

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

Preview Lab → · Contrast checker → · Palette generator →

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