#FAFE71#FAFE71

#FAFE71 is a very light, vivid yellow. Relative luminance 0.924; OKLCH L 96.7% C 0.162 H 110.6°. Best body text is #000000 at 19.48:1 contrast (WCAG AA passes).

Color values

HEX#FAFE71
RGBrgb(250, 254, 113)
HSLhsl(62, 99%, 72%)
HSVhsv(62, 56%, 100%)
CMYKcmyk(1.6%, 0%, 55.5%, 0.4%)
CIE-LABlab(96.98, -19.19, 65.60)
CIE-LCHlch(96.98, 68.35, 106.30°)
OKLaboklab(96.74% -0.0571 0.152)
OKLCHoklch(96.74% 0.162 110.6)
XYZxyz(77.8488, 92.4017, 29.3540)
Luminance0.9240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFE71 #7571FE
analogous
#FEBC71 #FAFE71 #B4FE71
triadic
#FAFE71 #71FAFE #FE71FA
tetradic
#FAFE71 #71FEBC #7571FE #FE71B4
square
#FAFE71 #71FEBC #7571FE #FE71B4
split-complementary
#FAFE71 #71B4FE #BC71FE
monochromatic
#ECF302 #F8FE34 #FAFE71 #FCFEAE #FEFFE1

Accessibility & contrast

On white

1.08
#FAFE71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.48
#FAFE71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFE71
19.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFE71#FFFFFF#000000##000000
##FAFE711.001.0819.4819.48
#FFFFFF1.081.0021.0021.00
#00000019.4821.001.001.00
##00000019.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF462
Deuteranopia (green-blind)
#FFF879
Tritanopia (blue-blind)
#FFF0DF
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fafe71;
/* rgb */ color: rgb(250, 254, 113);
/* oklch */ color: oklch(96.7% 0.162 110.6);
Tailwind
colors: {
  custom: {
    50: '#fffe9e',
    500: '#fafe71',
    950: '#000000',
  },
}
SCSS
$custom: #fafe71;
$custom-light: #fffe9e;
$custom-dark: #000000;
JSON
{
  "hex": "#fafe71",
  "rgb": {
    "r": 250,
    "g": 254,
    "b": 113
  },
  "hsl": {
    "h": 61.702,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.96736,
    "c": 0.16233,
    "h": 110.6
  },
  "luminance": 0.924
}

Semantic roles & 50–950 ramp

primary
#FAFE71
secondary
#3D39DB
accent
#00E607
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAFE71

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

Preview Lab → · Contrast checker → · Palette generator →

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