#FAF970#FAF970

#FAF970 is a very light, vivid yellow. Relative luminance 0.892; OKLCH L 95.7% C 0.158 H 108.7°. Best body text is #000000 at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#FAF970
RGBrgb(250, 249, 112)
HSLhsl(60, 93%, 71%)
HSVhsv(60, 55%, 98%)
CMYKcmyk(0%, 0.4%, 55.2%, 2%)
CIE-LABlab(95.68, -16.85, 64.57)
CIE-LCHlch(95.68, 66.73, 104.63°)
OKLaboklab(95.7% -0.0505 0.1497)
OKLCHoklch(95.7% 0.158 108.7)
XYZxyz(76.2268, 89.2472, 28.5371)
Luminance0.8924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF970 #7071FA
analogous
#FAB470 #FAF970 #B6FA70
triadic
#FAF970 #70FAF9 #F970FA
tetradic
#FAF970 #70FAB4 #7071FA #FA70B6
square
#FAF970 #70FAB4 #7071FA #FA70B6
split-complementary
#FAF970 #70B6FA #B470FA
monochromatic
#E8E608 #F8F735 #FAF970 #FCFBAB #FEFEE1

Accessibility & contrast

On white

1.11
#FAF970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.85
#FAF970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF970
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF970#FFFFFF#000000##000000
##FAF9701.001.1118.8518.85
#FFFFFF1.111.0021.0021.00
#00000018.8521.001.001.00
##00000018.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF062
Deuteranopia (green-blind)
#FFF578
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #faf970;
/* rgb */ color: rgb(250, 249, 112);
/* oklch */ color: oklch(95.7% 0.158 108.7);
Tailwind
colors: {
  custom: {
    50: '#fffb9d',
    500: '#faf970',
    950: '#000000',
  },
}
SCSS
$custom: #faf970;
$custom-light: #fffb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#faf970",
  "rgb": {
    "r": 250,
    "g": 249,
    "b": 112
  },
  "hsl": {
    "h": 59.565,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.95696,
    "c": 0.15795,
    "h": 108.7
  },
  "luminance": 0.89245
}

Semantic roles & 50–950 ramp

primary
#FAF970
secondary
#393AD5
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF970

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

Preview Lab → · Contrast checker → · Palette generator →

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