#FAF772#FAF772

#FAF772 is a very light, vivid yellow. Relative luminance 0.881; OKLCH L 95.3% C 0.154 H 107.8°. Best body text is #000000 at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#FAF772
RGBrgb(250, 247, 114)
HSLhsl(59, 93%, 71%)
HSVhsv(59, 54%, 98%)
CMYKcmyk(0%, 1.2%, 54.4%, 2%)
CIE-LABlab(95.19, -15.73, 63.13)
CIE-LCHlch(95.19, 65.06, 103.99°)
OKLaboklab(95.31% -0.0471 0.1468)
OKLCHoklch(95.31% 0.154 107.8)
XYZxyz(75.7245, 88.0625, 28.9252)
Luminance0.8806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF772 #7275FA
analogous
#FAB372 #FAF772 #B9FA72
triadic
#FAF772 #72FAF7 #F772FA
tetradic
#FAF772 #72FAB3 #7275FA #FA72B9
square
#FAF772 #72FAB3 #7275FA #FA72B9
split-complementary
#FAF772 #72B9FA #B372FA
monochromatic
#E9E408 #F8F437 #FAF772 #FCFAAD #FEFDE1

Accessibility & contrast

On white

1.13
#FAF772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.61
#FAF772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF772
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF772#FFFFFF#000000##000000
##FAF7721.001.1318.6118.61
#FFFFFF1.131.0021.0021.00
#00000018.6121.001.001.00
##00000018.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE64
Deuteranopia (green-blind)
#FFF479
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #faf772;
/* rgb */ color: rgb(250, 247, 114);
/* oklch */ color: oklch(95.3% 0.154 107.8);
Tailwind
colors: {
  custom: {
    50: '#fff99e',
    500: '#faf772',
    950: '#000000',
  },
}
SCSS
$custom: #faf772;
$custom-light: #fff99e;
$custom-dark: #000000;
JSON
{
  "hex": "#faf772",
  "rgb": {
    "r": 250,
    "g": 247,
    "b": 114
  },
  "hsl": {
    "h": 58.676,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.95306,
    "c": 0.15419,
    "h": 107.8
  },
  "luminance": 0.8806
}

Semantic roles & 50–950 ramp

primary
#FAF772
secondary
#3B3ED6
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF772

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

Preview Lab → · Contrast checker → · Palette generator →

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