#FFFA71#FFFA71

#FFFA71 is a very light, vivid yellow. Relative luminance 0.908; OKLCH L 96.3% C 0.157 H 107.1°. Best body text is #000000 at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#FFFA71
RGBrgb(255, 250, 113)
HSLhsl(58, 100%, 72%)
HSVhsv(58, 56%, 100%)
CMYKcmyk(0%, 2%, 55.7%, 0%)
CIE-LABlab(96.34, -15.28, 64.98)
CIE-LCHlch(96.34, 66.75, 103.24°)
OKLaboklab(96.32% -0.0463 0.1505)
OKLCHoklch(96.32% 0.157 107.1)
XYZxyz(78.4086, 90.8258, 29.0204)
Luminance0.9082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA71 #7176FF
analogous
#FFB371 #FFFA71 #BDFF71
triadic
#FFFA71 #71FFFA #FA71FF
tetradic
#FFFA71 #71FFB3 #7176FF #FF71BD
square
#FFFA71 #71FFB3 #7176FF #FF71BD
split-complementary
#FFFA71 #71BDFF #B371FF
monochromatic
#F6ED00 #FFF834 #FFFA71 #FFFCAE #FFFEE0

Accessibility & contrast

On white

1.10
#FFFA71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.16
#FFFA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFA71
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFA71#FFFFFF#000000##000000
##FFFA711.001.1019.1619.16
#FFFFFF1.101.0021.0021.00
#00000019.1621.001.001.00
##00000019.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF163
Deuteranopia (green-blind)
#FFF778
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fffa71;
/* rgb */ color: rgb(255, 250, 113);
/* oklch */ color: oklch(96.3% 0.157 107.1);
Tailwind
colors: {
  custom: {
    50: '#fffb9e',
    500: '#fffa71',
    950: '#000000',
  },
}
SCSS
$custom: #fffa71;
$custom-light: #fffb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa71",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 113
  },
  "hsl": {
    "h": 57.887,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.96315,
    "c": 0.15749,
    "h": 107.1
  },
  "luminance": 0.90823
}

Semantic roles & 50–950 ramp

primary
#FFFA71
secondary
#383EDC
accent
#08E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FFFA71

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

Preview Lab → · Contrast checker → · Palette generator →

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