#FFF586#FFF586

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

Color values

HEX#FFF586
RGBrgb(255, 245, 134)
HSLhsl(55, 100%, 76%)
HSVhsv(55, 47%, 100%)
CMYKcmyk(0%, 3.9%, 47.5%, 0%)
CIE-LABlab(95.28, -11.15, 54.25)
CIE-LCHlch(95.28, 55.38, 101.62°)
OKLaboklab(95.55% -0.0323 0.1293)
OKLCHoklch(95.55% 0.133 104)
XYZxyz(78.1975, 88.2884, 35.4718)
Luminance0.8829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF586 #8690FF
analogous
#FFB986 #FFF586 #CDFF86
triadic
#FFF586 #86FFF5 #F586FF
tetradic
#FFF586 #86FFB9 #8690FF #FF86CD
square
#FFF586 #86FFB9 #8690FF #FF86CD
split-complementary
#FFF586 #86CDFF #B986FF
monochromatic
#FFEB0C #FFF049 #FFF586 #FFFAC3 #FFFCE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFF586#FFFFFF#000000##000000
##FFF5861.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)
#FFEE7C
Deuteranopia (green-blind)
#FFF48B
Tritanopia (blue-blind)
#FFE8DB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fff586;
/* rgb */ color: rgb(255, 245, 134);
/* oklch */ color: oklch(95.5% 0.133 104.0);
Tailwind
colors: {
  custom: {
    50: '#fff8ab',
    500: '#fff586',
    950: '#000000',
  },
}
SCSS
$custom: #fff586;
$custom-light: #fff8ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fff586",
  "rgb": {
    "r": 255,
    "g": 245,
    "b": 134
  },
  "hsl": {
    "h": 55.041,
    "s": 100,
    "l": 76.275
  },
  "oklch": {
    "l": 0.95546,
    "c": 0.13323,
    "h": 104
  },
  "luminance": 0.88286
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFF586

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

Preview Lab → · Contrast checker → · Palette generator →

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