#FFF781#FFF781

#FFF781 is a very light, vivid yellow. Relative luminance 0.894; OKLCH L 95.9% C 0.140 H 105.3°. Best body text is #000000 at 18.87:1 contrast (WCAG AA passes).

Color values

HEX#FFF781
RGBrgb(255, 247, 129)
HSLhsl(56, 100%, 75%)
HSVhsv(56, 49%, 100%)
CMYKcmyk(0%, 3.1%, 49.4%, 0%)
CIE-LABlab(95.73, -12.57, 57.12)
CIE-LCHlch(95.73, 58.48, 102.41°)
OKLaboklab(95.89% -0.0369 0.1351)
OKLCHoklch(95.89% 0.14 105.3)
XYZxyz(78.4653, 89.3688, 33.8812)
Luminance0.8937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF781 #8189FF
analogous
#FFB881 #FFF781 #C8FF81
triadic
#FFF781 #81FFF7 #F781FF
tetradic
#FFF781 #81FFB8 #8189FF #FF81C8
square
#FFF781 #81FFB8 #8189FF #FF81C8
split-complementary
#FFF781 #81C8FF #B881FF
monochromatic
#FFEF07 #FFF344 #FFF781 #FFFBBE #FFFDE0

Accessibility & contrast

On white

1.11
#FFF781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.87
#FFF781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF781
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF781#FFFFFF#000000##000000
##FFF7811.001.1118.8718.87
#FFFFFF1.111.0021.0021.00
#00000018.8721.001.001.00
##00000018.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF076
Deuteranopia (green-blind)
#FFF587
Tritanopia (blue-blind)
#FFEADC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fff781;
/* rgb */ color: rgb(255, 247, 129);
/* oklch */ color: oklch(95.9% 0.140 105.3);
Tailwind
colors: {
  custom: {
    50: '#fff9a8',
    500: '#fff781',
    950: '#000000',
  },
}
SCSS
$custom: #fff781;
$custom-light: #fff9a8;
$custom-dark: #000000;
JSON
{
  "hex": "#fff781",
  "rgb": {
    "r": 255,
    "g": 247,
    "b": 129
  },
  "hsl": {
    "h": 56.19,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.95887,
    "c": 0.14008,
    "h": 105.3
  },
  "luminance": 0.89367
}

Semantic roles & 50–950 ramp

primary
#FFF781
secondary
#4650DE
accent
#0FE600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFF781

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

Preview Lab → · Contrast checker → · Palette generator →

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