#FAFD8A#FAFD8A

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

Color values

HEX#FAFD8A
RGBrgb(250, 253, 138)
HSLhsl(62, 97%, 77%)
HSVhsv(62, 45%, 99%)
CMYKcmyk(1.2%, 0%, 45.5%, 0.8%)
CIE-LABlab(96.99, -16.63, 54.36)
CIE-LCHlch(96.99, 56.85, 107.01°)
OKLaboklab(96.82% -0.0474 0.1298)
OKLCHoklch(96.82% 0.138 110)
XYZxyz(79.1385, 92.4112, 37.7081)
Luminance0.9241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFD8A #8D8AFD
analogous
#FDC78A #FAFD8A #C1FD8A
triadic
#FAFD8A #8AFAFD #FD8AFA
tetradic
#FAFD8A #8AFDC7 #8D8AFD #FD8AC1
square
#FAFD8A #8AFDC7 #8D8AFD #FD8AC1
split-complementary
#FAFD8A #8AC1FD #C78AFD
monochromatic
#F5FB12 #F7FC4E #FAFD8A #FDFEC6 #FEFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FAFD8A#FFFFFF#000000##000000
##FAFD8A1.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)
#FFF480
Deuteranopia (green-blind)
#FFF890
Tritanopia (blue-blind)
#FFF1E2
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fafd8a;
/* rgb */ color: rgb(250, 253, 138);
/* oklch */ color: oklch(96.8% 0.138 110.0);
Tailwind
colors: {
  custom: {
    50: '#fefdae',
    500: '#fafd8a',
    950: '#000000',
  },
}
SCSS
$custom: #fafd8a;
$custom-light: #fefdae;
$custom-dark: #000000;
JSON
{
  "hex": "#fafd8a",
  "rgb": {
    "r": 250,
    "g": 253,
    "b": 138
  },
  "hsl": {
    "h": 61.565,
    "s": 96.639,
    "l": 76.667
  },
  "oklch": {
    "l": 0.96824,
    "c": 0.13821,
    "h": 110
  },
  "luminance": 0.9241
}

Semantic roles & 50–950 ramp

primary
#FAFD8A
secondary
#524EDD
accent
#00E606
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FAFD8A

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

Preview Lab → · Contrast checker → · Palette generator →

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