#FAFA72#FAFA72

#FAFA72 is a very light, vivid yellow. Relative luminance 0.899; OKLCH L 95.9% C 0.157 H 109.0°. Best body text is #000000 at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#FAFA72
RGBrgb(250, 250, 114)
HSLhsl(60, 93%, 71%)
HSVhsv(60, 54%, 98%)
CMYKcmyk(0%, 0%, 54.4%, 2%)
CIE-LABlab(95.96, -17.19, 64.01)
CIE-LCHlch(95.96, 66.28, 105.03°)
OKLaboklab(95.92% -0.0513 0.1487)
OKLCHoklch(95.92% 0.157 109)
XYZxyz(76.6493, 89.9121, 29.2334)
Luminance0.8991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFA72 #7272FA
analogous
#FAB672 #FAFA72 #B6FA72
triadic
#FAFA72 #72FAFA #FA72FA
tetradic
#FAFA72 #72FAB6 #7272FA #FA72B6
square
#FAFA72 #72FAB6 #7272FA #FA72B6
split-complementary
#FAFA72 #72B6FA #B672FA
monochromatic
#E9E908 #F8F837 #FAFA72 #FCFCAD #FEFEE1

Accessibility & contrast

On white

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

On black

18.98
#FAFA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFA72
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFA72#FFFFFF#000000##000000
##FAFA721.001.1118.9818.98
#FFFFFF1.111.0021.0021.00
#00000018.9821.001.001.00
##00000018.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF164
Deuteranopia (green-blind)
#FFF679
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fafa72;
/* rgb */ color: rgb(250, 250, 114);
/* oklch */ color: oklch(95.9% 0.157 109.0);
Tailwind
colors: {
  custom: {
    50: '#fffb9f',
    500: '#fafa72',
    950: '#000000',
  },
}
SCSS
$custom: #fafa72;
$custom-light: #fffb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#fafa72",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 114
  },
  "hsl": {
    "h": 60,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.95922,
    "c": 0.15728,
    "h": 109
  },
  "luminance": 0.8991
}

Semantic roles & 50–950 ramp

primary
#FAFA72
secondary
#3B3BD6
accent
#00E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAFA72

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

Preview Lab → · Contrast checker → · Palette generator →

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