#F7F581#F7F581

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

Color values

HEX#F7F581
RGBrgb(247, 245, 129)
HSLhsl(59, 88%, 74%)
HSVhsv(59, 48%, 97%)
CMYKcmyk(0%, 0.8%, 47.8%, 3.1%)
CIE-LABlab(94.60, -14.72, 55.61)
CIE-LCHlch(94.60, 57.52, 104.83°)
OKLaboklab(94.83% -0.0426 0.132)
OKLCHoklch(94.83% 0.139 107.9)
XYZxyz(74.9743, 86.6658, 33.5433)
Luminance0.8666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F581 #8183F7
analogous
#F7BA81 #F7F581 #BEF781
triadic
#F7F581 #81F7F5 #F581F7
tetradic
#F7F581 #81F7BA #8183F7 #F781BE
square
#F7F581 #81F7BA #8183F7 #F781BE
split-complementary
#F7F581 #81BEF7 #BA81F7
monochromatic
#EEEB0F #F3F047 #F7F581 #FBFABB #FDFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7F581#FFFFFF#000000##000000
##F7F5811.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)
#FFED77
Deuteranopia (green-blind)
#FFF287
Tritanopia (blue-blind)
#FFE8DA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f7f581;
/* rgb */ color: rgb(247, 245, 129);
/* oklch */ color: oklch(94.8% 0.139 107.9);
Tailwind
colors: {
  custom: {
    50: '#fcf8a8',
    500: '#f7f581',
    950: '#000000',
  },
}
SCSS
$custom: #f7f581;
$custom-light: #fcf8a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f581",
  "rgb": {
    "r": 247,
    "g": 245,
    "b": 129
  },
  "hsl": {
    "h": 58.983,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.9483,
    "c": 0.13865,
    "h": 107.9
  },
  "luminance": 0.86664
}

Semantic roles & 50–950 ramp

primary
#F7F581
secondary
#494BD4
accent
#05E501
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F7F581

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

Preview Lab → · Contrast checker → · Palette generator →

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