#FFFA87#FFFA87

#FFFA87 is a very light, vivid yellow. Relative luminance 0.914; OKLCH L 96.6% C 0.137 H 106.5°. Best body text is #000000 at 19.28:1 contrast (WCAG AA passes).

Color values

HEX#FFFA87
RGBrgb(255, 250, 135)
HSLhsl(58, 100%, 76%)
HSVhsv(58, 47%, 100%)
CMYKcmyk(0%, 2%, 47.1%, 0%)
CIE-LABlab(96.57, -13.51, 55.34)
CIE-LCHlch(96.57, 56.96, 103.72°)
OKLaboklab(96.57% -0.039 0.1317)
OKLCHoklch(96.57% 0.137 106.5)
XYZxyz(79.8006, 91.3826, 36.3519)
Luminance0.9138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA87 #878CFF
analogous
#FFBE87 #FFFA87 #C8FF87
triadic
#FFFA87 #87FFFA #FA87FF
tetradic
#FFFA87 #87FFBE #878CFF #FF87C8
square
#FFFA87 #87FFBE #878CFF #FF87C8
split-complementary
#FFFA87 #87C8FF #BE87FF
monochromatic
#FFF50D #FFF74A #FFFA87 #FFFDC4 #FFFEE0

Accessibility & contrast

On white

1.09
#FFFA87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.28
#FFFA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFA87
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFA87#FFFFFF#000000##000000
##FFFA871.001.0919.2819.28
#FFFFFF1.091.0021.0021.00
#00000019.2821.001.001.00
##00000019.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF27D
Deuteranopia (green-blind)
#FFF88C
Tritanopia (blue-blind)
#FFEDDF
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fffa87;
/* rgb */ color: rgb(255, 250, 135);
/* oklch */ color: oklch(96.6% 0.137 106.5);
Tailwind
colors: {
  custom: {
    50: '#fffbac',
    500: '#fffa87',
    950: '#000000',
  },
}
SCSS
$custom: #fffa87;
$custom-light: #fffbac;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa87",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 135
  },
  "hsl": {
    "h": 57.5,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.96571,
    "c": 0.13737,
    "h": 106.5
  },
  "luminance": 0.9138
}

Semantic roles & 50–950 ramp

primary
#FFFA87
secondary
#4B51DF
accent
#0AE600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFFA87

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

Preview Lab → · Contrast checker → · Palette generator →

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