#FAFE70#FAFE70

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

Color values

HEX#FAFE70
RGBrgb(250, 254, 112)
HSLhsl(62, 99%, 72%)
HSVhsv(62, 56%, 100%)
CMYKcmyk(1.6%, 0%, 55.9%, 0.4%)
CIE-LABlab(96.98, -19.26, 66.02)
CIE-LCHlch(96.98, 68.77, 106.26°)
OKLaboklab(96.73% -0.0574 0.1528)
OKLCHoklch(96.73% 0.163 110.6)
XYZxyz(77.7928, 92.3793, 29.0591)
Luminance0.9238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFE70 #7470FE
analogous
#FEBB70 #FAFE70 #B3FE70
triadic
#FAFE70 #70FAFE #FE70FA
tetradic
#FAFE70 #70FEBB #7470FE #FE70B3
square
#FAFE70 #70FEBB #7470FE #FE70B3
split-complementary
#FAFE70 #70B3FE #BB70FE
monochromatic
#EBF202 #F8FE33 #FAFE70 #FCFEAD #FEFFE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FAFE70#FFFFFF#000000##000000
##FAFE701.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)
#FFF461
Deuteranopia (green-blind)
#FFF878
Tritanopia (blue-blind)
#FFF0DF
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fafe70;
/* rgb */ color: rgb(250, 254, 112);
/* oklch */ color: oklch(96.7% 0.163 110.6);
Tailwind
colors: {
  custom: {
    50: '#fffe9e',
    500: '#fafe70',
    950: '#000000',
  },
}
SCSS
$custom: #fafe70;
$custom-light: #fffe9e;
$custom-dark: #000000;
JSON
{
  "hex": "#fafe70",
  "rgb": {
    "r": 250,
    "g": 254,
    "b": 112
  },
  "hsl": {
    "h": 61.69,
    "s": 98.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.96726,
    "c": 0.16317,
    "h": 110.6
  },
  "luminance": 0.92377
}

Semantic roles & 50–950 ramp

primary
#FAFE70
secondary
#3C38DA
accent
#00E606
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAFE70

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

Preview Lab → · Contrast checker → · Palette generator →

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