#FAFE72#FAFE72

#FAFE72 is a very light, vivid yellow. Relative luminance 0.924; OKLCH L 96.7% C 0.161 H 110.6°. Best body text is #000000 at 19.48:1 contrast (WCAG AA passes).

Color values

HEX#FAFE72
RGBrgb(250, 254, 114)
HSLhsl(62, 99%, 72%)
HSVhsv(62, 55%, 100%)
CMYKcmyk(1.6%, 0%, 55.1%, 0.4%)
CIE-LABlab(96.99, -19.11, 65.18)
CIE-LCHlch(96.99, 67.92, 106.34°)
OKLaboklab(96.75% -0.0567 0.1512)
OKLCHoklch(96.75% 0.161 110.6)
XYZxyz(77.9054, 92.4243, 29.6521)
Luminance0.9242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFE72 #7672FE
analogous
#FEBC72 #FAFE72 #B4FE72
triadic
#FAFE72 #72FAFE #FE72FA
tetradic
#FAFE72 #72FEBC #7672FE #FE72B4
square
#FAFE72 #72FEBC #7672FE #FE72B4
split-complementary
#FAFE72 #72B4FE #BC72FE
monochromatic
#EDF402 #F8FE35 #FAFE72 #FCFEAF #FEFFE1

Accessibility & contrast

On white

1.08
#FAFE72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.48
#FAFE72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFE72
19.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFE72#FFFFFF#000000##000000
##FAFE721.001.0819.4819.48
#FFFFFF1.081.0021.0021.00
#00000019.4821.001.001.00
##00000019.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF463
Deuteranopia (green-blind)
#FFF87A
Tritanopia (blue-blind)
#FFF0DF
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fafe72;
/* rgb */ color: rgb(250, 254, 114);
/* oklch */ color: oklch(96.7% 0.161 110.6);
Tailwind
colors: {
  custom: {
    50: '#fffe9f',
    500: '#fafe72',
    950: '#000000',
  },
}
SCSS
$custom: #fafe72;
$custom-light: #fffe9f;
$custom-dark: #000000;
JSON
{
  "hex": "#fafe72",
  "rgb": {
    "r": 250,
    "g": 254,
    "b": 114
  },
  "hsl": {
    "h": 61.714,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.96746,
    "c": 0.16148,
    "h": 110.6
  },
  "luminance": 0.92423
}

Semantic roles & 50–950 ramp

primary
#FAFE72
secondary
#3E39DB
accent
#00E607
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAFE72

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

Preview Lab → · Contrast checker → · Palette generator →

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