#FAFA8D#FAFA8D

#FAFA8D is a very light, vivid yellow. Relative luminance 0.906; OKLCH L 96.3% C 0.132 H 108.6°. Best body text is #000000 at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#FAFA8D
RGBrgb(250, 250, 141)
HSLhsl(60, 92%, 77%)
HSVhsv(60, 44%, 98%)
CMYKcmyk(0%, 0%, 43.6%, 2%)
CIE-LABlab(96.25, -14.90, 52.05)
CIE-LCHlch(96.25, 54.14, 105.97°)
OKLaboklab(96.25% -0.0421 0.1249)
OKLCHoklch(96.25% 0.132 108.6)
XYZxyz(78.4191, 90.6200, 38.5546)
Luminance0.9062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFA8D #8D8DFA
analogous
#FAC48D #FAFA8D #C4FA8D
triadic
#FAFA8D #8DFAFA #FA8DFA
tetradic
#FAFA8D #8DFAC4 #8D8DFA #FA8DC4
square
#FAFA8D #8DFAC4 #8D8DFA #FA8DC4
split-complementary
#FAFA8D #8DC4FA #C48DFA
monochromatic
#F5F518 #F7F752 #FAFA8D #FDFDC8 #FEFEE2

Accessibility & contrast

On white

1.10
#FAFA8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.12
#FAFA8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFA8D
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFA8D#FFFFFF#000000##000000
##FAFA8D1.001.1019.1219.12
#FFFFFF1.101.0021.0021.00
#00000019.1221.001.001.00
##00000019.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF284
Deuteranopia (green-blind)
#FFF692
Tritanopia (blue-blind)
#FFEEE0
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fafa8d;
/* rgb */ color: rgb(250, 250, 141);
/* oklch */ color: oklch(96.3% 0.132 108.6);
Tailwind
colors: {
  custom: {
    50: '#fefbb0',
    500: '#fafa8d',
    950: '#000000',
  },
}
SCSS
$custom: #fafa8d;
$custom-light: #fefbb0;
$custom-dark: #000000;
JSON
{
  "hex": "#fafa8d",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 141
  },
  "hsl": {
    "h": 60,
    "s": 91.597,
    "l": 76.667
  },
  "oklch": {
    "l": 0.96251,
    "c": 0.13185,
    "h": 108.6
  },
  "luminance": 0.90618
}

Semantic roles & 50–950 ramp

primary
#FAFA8D
secondary
#5252D9
accent
#00E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181711
muted
#868581

Preview Lab

Preview with #FAFA8D

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

Preview Lab → · Contrast checker → · Palette generator →

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