#F7F587#F7F587

#F7F587 is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 94.9% C 0.133 H 107.8°. Best body text is #000000 at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#F7F587
RGBrgb(247, 245, 135)
HSLhsl(59, 88%, 75%)
HSVhsv(59, 45%, 97%)
CMYKcmyk(0%, 0.8%, 45.3%, 3.1%)
CIE-LABlab(94.67, -14.18, 52.89)
CIE-LCHlch(94.67, 54.75, 105.01°)
OKLaboklab(94.91% -0.0405 0.1264)
OKLCHoklch(94.91% 0.133 107.8)
XYZxyz(75.3849, 86.8301, 35.7057)
Luminance0.8683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F587 #8789F7
analogous
#F7BD87 #F7F587 #C1F787
triadic
#F7F587 #87F7F5 #F587F7
tetradic
#F7F587 #87F7BD #8789F7 #F787C1
square
#F7F587 #87F7BD #8789F7 #F787C1
split-complementary
#F7F587 #87C1F7 #BD87F7
monochromatic
#EFEB14 #F3F04E #F7F587 #FBFAC0 #FDFDE2

Accessibility & contrast

On white

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

On black

18.37
#F7F587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F587
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F587#FFFFFF#000000##000000
##F7F5871.001.1418.3718.37
#FFFFFF1.141.0021.0021.00
#00000018.3721.001.001.00
##00000018.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7f587;
/* rgb */ color: rgb(247, 245, 135);
/* oklch */ color: oklch(94.9% 0.133 107.8);
Tailwind
colors: {
  custom: {
    50: '#fcf8ac',
    500: '#f7f587',
    950: '#000000',
  },
}
SCSS
$custom: #f7f587;
$custom-light: #fcf8ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f587",
  "rgb": {
    "r": 247,
    "g": 245,
    "b": 135
  },
  "hsl": {
    "h": 58.929,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.94908,
    "c": 0.13273,
    "h": 107.8
  },
  "luminance": 0.86828
}

Semantic roles & 50–950 ramp

primary
#F7F587
secondary
#4E50D4
accent
#05E401
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F7F587

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

Preview Lab → · Contrast checker → · Palette generator →

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