#FAFC70#FAFC70

#FAFC70 is a very light, vivid yellow. Relative luminance 0.911; OKLCH L 96.3% C 0.161 H 109.8°. Best body text is #000000 at 19.22:1 contrast (WCAG AA passes).

Color values

HEX#FAFC70
RGBrgb(250, 252, 112)
HSLhsl(61, 96%, 71%)
HSVhsv(61, 56%, 99%)
CMYKcmyk(0.8%, 0%, 55.6%, 1.2%)
CIE-LABlab(96.46, -18.30, 65.44)
CIE-LCHlch(96.46, 67.95, 105.62°)
OKLaboklab(96.31% -0.0546 0.1515)
OKLCHoklch(96.31% 0.161 109.8)
XYZxyz(77.1614, 91.1166, 28.8487)
Luminance0.9112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFC70 #7270FC
analogous
#FCB870 #FAFC70 #B4FC70
triadic
#FAFC70 #70FAFC #FC70FA
tetradic
#FAFC70 #70FCB8 #7270FC #FC70B4
square
#FAFC70 #70FCB8 #7270FC #FC70B4
split-complementary
#FAFC70 #70B4FC #B870FC
monochromatic
#E9ED05 #F8FB34 #FAFC70 #FCFDAC #FEFEE1

Accessibility & contrast

On white

1.09
#FAFC70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.22
#FAFC70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFC70
19.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFC70#FFFFFF#000000##000000
##FAFC701.001.0919.2219.22
#FFFFFF1.091.0021.0021.00
#00000019.2221.001.001.00
##00000019.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF261
Deuteranopia (green-blind)
#FFF778
Tritanopia (blue-blind)
#FFEEDE
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fafc70;
/* rgb */ color: rgb(250, 252, 112);
/* oklch */ color: oklch(96.3% 0.161 109.8);
Tailwind
colors: {
  custom: {
    50: '#fffd9d',
    500: '#fafc70',
    950: '#000000',
  },
}
SCSS
$custom: #fafc70;
$custom-light: #fffd9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fafc70",
  "rgb": {
    "r": 250,
    "g": 252,
    "b": 112
  },
  "hsl": {
    "h": 60.857,
    "s": 95.89,
    "l": 71.373
  },
  "oklch": {
    "l": 0.96313,
    "c": 0.16106,
    "h": 109.8
  },
  "luminance": 0.91115
}

Semantic roles & 50–950 ramp

primary
#FAFC70
secondary
#3B38D8
accent
#00E603
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAFC70

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

Preview Lab → · Contrast checker → · Palette generator →

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