#FAF571#FAF571

#FAF571 is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 94.9% C 0.153 H 107.0°. Best body text is #000000 at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#FAF571
RGBrgb(250, 245, 113)
HSLhsl(58, 93%, 71%)
HSVhsv(58, 55%, 98%)
CMYKcmyk(0%, 2%, 54.8%, 2%)
CIE-LABlab(94.66, -14.84, 62.98)
CIE-LCHlch(94.66, 64.70, 103.26°)
OKLaboklab(94.89% -0.0447 0.1464)
OKLCHoklch(94.89% 0.153 107)
XYZxyz(75.0596, 86.8233, 28.4243)
Luminance0.8682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF571 #7176FA
analogous
#FAB071 #FAF571 #BAFA71
triadic
#FAF571 #71FAF5 #F571FA
tetradic
#FAF571 #71FAB0 #7176FA #FA71BA
square
#FAF571 #71FAB0 #7176FA #FA71BA
split-complementary
#FAF571 #71BAFA #B071FA
monochromatic
#E8E008 #F8F136 #FAF571 #FCF9AC #FEFDE1

Accessibility & contrast

On white

1.14
#FAF571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.36
#FAF571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF571
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF571#FFFFFF#000000##000000
##FAF5711.001.1418.3618.36
#FFFFFF1.141.0021.0021.00
#00000018.3621.001.001.00
##00000018.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED63
Deuteranopia (green-blind)
#FFF278
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #faf571;
/* rgb */ color: rgb(250, 245, 113);
/* oklch */ color: oklch(94.9% 0.153 107.0);
Tailwind
colors: {
  custom: {
    50: '#fff89e',
    500: '#faf571',
    950: '#000000',
  },
}
SCSS
$custom: #faf571;
$custom-light: #fff89e;
$custom-dark: #000000;
JSON
{
  "hex": "#faf571",
  "rgb": {
    "r": 250,
    "g": 245,
    "b": 113
  },
  "hsl": {
    "h": 57.81,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.94886,
    "c": 0.15302,
    "h": 107
  },
  "luminance": 0.86821
}

Semantic roles & 50–950 ramp

primary
#FAF571
secondary
#3A3FD5
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF571

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

Preview Lab → · Contrast checker → · Palette generator →

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