#FFF581#FFF581

#FFF581 is a very light, vivid yellow. Relative luminance 0.881; OKLCH L 95.5% C 0.138 H 104.3°. Best body text is #000000 at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#FFF581
RGBrgb(255, 245, 129)
HSLhsl(55, 100%, 75%)
HSVhsv(55, 49%, 100%)
CMYKcmyk(0%, 3.9%, 49.4%, 0%)
CIE-LABlab(95.22, -11.59, 56.51)
CIE-LCHlch(95.22, 57.69, 101.59°)
OKLaboklab(95.48% -0.034 0.1338)
OKLCHoklch(95.48% 0.138 104.3)
XYZxyz(77.8569, 88.1522, 33.6785)
Luminance0.8815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF581 #818BFF
analogous
#FFB681 #FFF581 #CAFF81
triadic
#FFF581 #81FFF5 #F581FF
tetradic
#FFF581 #81FFB6 #818BFF #FF81CA
square
#FFF581 #81FFB6 #818BFF #FF81CA
split-complementary
#FFF581 #81CAFF #B681FF
monochromatic
#FFEB07 #FFF044 #FFF581 #FFFABE #FFFDE0

Accessibility & contrast

On white

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

On black

18.63
#FFF581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF581
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF581#FFFFFF#000000##000000
##FFF5811.001.1318.6318.63
#FFFFFF1.131.0021.0021.00
#00000018.6321.001.001.00
##00000018.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE77
Deuteranopia (green-blind)
#FFF486
Tritanopia (blue-blind)
#FFE8DA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fff581;
/* rgb */ color: rgb(255, 245, 129);
/* oklch */ color: oklch(95.5% 0.138 104.3);
Tailwind
colors: {
  custom: {
    50: '#fff8a8',
    500: '#fff581',
    950: '#000000',
  },
}
SCSS
$custom: #fff581;
$custom-light: #fff8a8;
$custom-dark: #000000;
JSON
{
  "hex": "#fff581",
  "rgb": {
    "r": 255,
    "g": 245,
    "b": 129
  },
  "hsl": {
    "h": 55.238,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.95482,
    "c": 0.13807,
    "h": 104.3
  },
  "luminance": 0.8815
}

Semantic roles & 50–950 ramp

primary
#FFF581
secondary
#4652DE
accent
#12E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFF581

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

Preview Lab → · Contrast checker → · Palette generator →

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