#FAFA70#FAFA70

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

Color values

HEX#FAFA70
RGBrgb(250, 250, 112)
HSLhsl(60, 93%, 71%)
HSVhsv(60, 55%, 98%)
CMYKcmyk(0%, 0%, 55.2%, 2%)
CIE-LABlab(95.94, -17.33, 64.86)
CIE-LCHlch(95.94, 67.13, 104.96°)
OKLaboklab(95.9% -0.0519 0.1503)
OKLCHoklch(95.9% 0.159 109.1)
XYZxyz(76.5367, 89.8671, 28.6404)
Luminance0.8986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFA70 #7070FA
analogous
#FAB570 #FAFA70 #B5FA70
triadic
#FAFA70 #70FAFA #FA70FA
tetradic
#FAFA70 #70FAB5 #7070FA #FA70B5
square
#FAFA70 #70FAB5 #7070FA #FA70B5
split-complementary
#FAFA70 #70B5FA #B570FA
monochromatic
#E8E808 #F8F835 #FAFA70 #FCFCAB #FEFEE1

Accessibility & contrast

On white

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

On black

18.97
#FAFA70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFA70
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFA70#FFFFFF#000000##000000
##FAFA701.001.1118.9718.97
#FFFFFF1.111.0021.0021.00
#00000018.9721.001.001.00
##00000018.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fafa70;
/* rgb */ color: rgb(250, 250, 112);
/* oklch */ color: oklch(95.9% 0.159 109.1);
Tailwind
colors: {
  custom: {
    50: '#fffb9d',
    500: '#fafa70',
    950: '#000000',
  },
}
SCSS
$custom: #fafa70;
$custom-light: #fffb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fafa70",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 112
  },
  "hsl": {
    "h": 60,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.95901,
    "c": 0.15898,
    "h": 109.1
  },
  "luminance": 0.89865
}

Semantic roles & 50–950 ramp

primary
#FAFA70
secondary
#3939D5
accent
#00E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAFA70

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

Preview Lab → · Contrast checker → · Palette generator →

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