#FFF771#FFF771

#FFF771 is a very light, vivid yellow. Relative luminance 0.890; OKLCH L 95.7% C 0.155 H 105.8°. Best body text is #000000 at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#FFF771
RGBrgb(255, 247, 113)
HSLhsl(57, 100%, 72%)
HSVhsv(57, 56%, 100%)
CMYKcmyk(0%, 3.1%, 55.7%, 0%)
CIE-LABlab(95.57, -13.82, 64.11)
CIE-LCHlch(95.57, 65.58, 102.17°)
OKLaboklab(95.7% -0.0421 0.1487)
OKLCHoklch(95.7% 0.155 105.8)
XYZxyz(77.4838, 88.9762, 28.7121)
Luminance0.8897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF771 #7179FF
analogous
#FFB071 #FFF771 #C0FF71
triadic
#FFF771 #71FFF7 #F771FF
tetradic
#FFF771 #71FFB0 #7179FF #FF71C0
square
#FFF771 #71FFB0 #7179FF #FF71C0
split-complementary
#FFF771 #71C0FF #B071FF
monochromatic
#F6E800 #FFF434 #FFF771 #FFFAAE #FFFDE0

Accessibility & contrast

On white

1.12
#FFF771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.79
#FFF771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF771
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF771#FFFFFF#000000##000000
##FFF7711.001.1218.7918.79
#FFFFFF1.121.0021.0021.00
#00000018.7921.001.001.00
##00000018.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF63
Deuteranopia (green-blind)
#FFF578
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fff771;
/* rgb */ color: rgb(255, 247, 113);
/* oklch */ color: oklch(95.7% 0.155 105.8);
Tailwind
colors: {
  custom: {
    50: '#fff99e',
    500: '#fff771',
    950: '#000000',
  },
}
SCSS
$custom: #fff771;
$custom-light: #fff99e;
$custom-dark: #000000;
JSON
{
  "hex": "#fff771",
  "rgb": {
    "r": 255,
    "g": 247,
    "b": 113
  },
  "hsl": {
    "h": 56.62,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.95704,
    "c": 0.15454,
    "h": 105.8
  },
  "luminance": 0.88974
}

Semantic roles & 50–950 ramp

primary
#FFF771
secondary
#3841DC
accent
#0DE600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FFF771

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

Preview Lab → · Contrast checker → · Palette generator →

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