#F6F587#F6F587

#F6F587 is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.8% C 0.133 H 108.2°. Best body text is #000000 at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#F6F587
RGBrgb(246, 245, 135)
HSLhsl(59, 86%, 75%)
HSVhsv(59, 45%, 96%)
CMYKcmyk(0%, 0.4%, 45.1%, 3.5%)
CIE-LABlab(94.59, -14.57, 52.77)
CIE-LCHlch(94.59, 54.75, 105.44°)
OKLaboklab(94.83% -0.0415 0.1262)
OKLCHoklch(94.83% 0.133 108.2)
XYZxyz(75.0331, 86.6487, 35.6893)
Luminance0.8665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F587 #8788F6
analogous
#F6BD87 #F6F587 #C0F687
triadic
#F6F587 #87F6F5 #F587F6
tetradic
#F6F587 #87F6BD #8788F6 #F687C0
square
#F6F587 #87F6BD #8788F6 #F687C0
split-complementary
#F6F587 #87C0F6 #BD87F6
monochromatic
#EDEC15 #F2F04E #F6F587 #FAFAC0 #FDFDE3

Accessibility & contrast

On white

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

On black

18.33
#F6F587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F587
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F587#FFFFFF#000000##000000
##F6F5871.001.1518.3318.33
#FFFFFF1.151.0021.0021.00
#00000018.3321.001.001.00
##00000018.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f6f587;
/* rgb */ color: rgb(246, 245, 135);
/* oklch */ color: oklch(94.8% 0.133 108.2);
Tailwind
colors: {
  custom: {
    50: '#fbf8ac',
    500: '#f6f587',
    950: '#000000',
  },
}
SCSS
$custom: #f6f587;
$custom-light: #fbf8ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f587",
  "rgb": {
    "r": 246,
    "g": 245,
    "b": 135
  },
  "hsl": {
    "h": 59.459,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.94828,
    "c": 0.13283,
    "h": 108.2
  },
  "luminance": 0.86647
}

Semantic roles & 50–950 ramp

primary
#F6F587
secondary
#4E4FD3
accent
#05E303
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F6F587

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

Preview Lab → · Contrast checker → · Palette generator →

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