#FAF973#FAF973

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

Color values

HEX#FAF973
RGBrgb(250, 249, 115)
HSLhsl(60, 93%, 72%)
HSVhsv(60, 54%, 98%)
CMYKcmyk(0%, 0.4%, 54%, 2%)
CIE-LABlab(95.71, -16.63, 63.29)
CIE-LCHlch(95.71, 65.44, 104.72°)
OKLaboklab(95.73% -0.0496 0.1472)
OKLCHoklch(95.73% 0.155 108.6)
XYZxyz(76.3966, 89.3152, 29.4315)
Luminance0.8931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF973 #7374FA
analogous
#FAB673 #FAF973 #B7FA73
triadic
#FAF973 #73FAF9 #F973FA
tetradic
#FAF973 #73FAB6 #7374FA #FA73B7
square
#FAF973 #73FAB6 #7374FA #FA73B7
split-complementary
#FAF973 #73B7FA #B673FA
monochromatic
#EAE908 #F8F638 #FAF973 #FCFCAE #FEFEE1

Accessibility & contrast

On white

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

On black

18.86
#FAF973 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF973
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF973#FFFFFF#000000##000000
##FAF9731.001.1118.8618.86
#FFFFFF1.111.0021.0021.00
#00000018.8621.001.001.00
##00000018.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faf973;
/* rgb */ color: rgb(250, 249, 115);
/* oklch */ color: oklch(95.7% 0.155 108.6);
Tailwind
colors: {
  custom: {
    50: '#fefb9f',
    500: '#faf973',
    950: '#000000',
  },
}
SCSS
$custom: #faf973;
$custom-light: #fefb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#faf973",
  "rgb": {
    "r": 250,
    "g": 249,
    "b": 115
  },
  "hsl": {
    "h": 59.556,
    "s": 93.103,
    "l": 71.569
  },
  "oklch": {
    "l": 0.95727,
    "c": 0.15537,
    "h": 108.6
  },
  "luminance": 0.89313
}

Semantic roles & 50–950 ramp

primary
#FAF973
secondary
#3B3DD6
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF973

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

Preview Lab → · Contrast checker → · Palette generator →

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