#FAFE8A#FAFE8A

#FAFE8A is a very light, vivid yellow. Relative luminance 0.930; OKLCH L 97.0% C 0.139 H 110.5°. Best body text is #000000 at 19.61:1 contrast (WCAG AA passes).

Color values

HEX#FAFE8A
RGBrgb(250, 254, 138)
HSLhsl(62, 98%, 77%)
HSVhsv(62, 46%, 100%)
CMYKcmyk(1.6%, 0%, 45.7%, 0.4%)
CIE-LABlab(97.25, -17.12, 54.67)
CIE-LCHlch(97.25, 57.29, 107.38°)
OKLaboklab(97.03% -0.0487 0.1305)
OKLCHoklch(97.03% 0.139 110.5)
XYZxyz(79.4550, 93.0442, 37.8136)
Luminance0.9304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFE8A #8E8AFE
analogous
#FEC88A #FAFE8A #C0FE8A
triadic
#FAFE8A #8AFAFE #FE8AFA
tetradic
#FAFE8A #8AFEC8 #8E8AFE #FE8AC0
square
#FAFE8A #8AFEC8 #8E8AFE #FE8AC0
split-complementary
#FAFE8A #8AC0FE #C88AFE
monochromatic
#F5FD11 #F7FD4D #FAFE8A #FDFFC7 #FEFFE1

Accessibility & contrast

On white

1.07
#FAFE8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.61
#FAFE8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFE8A
19.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFE8A#FFFFFF#000000##000000
##FAFE8A1.001.0719.6119.61
#FFFFFF1.071.0021.0021.00
#00000019.6121.001.001.00
##00000019.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF580
Deuteranopia (green-blind)
#FFF990
Tritanopia (blue-blind)
#FFF2E3
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fafe8a;
/* rgb */ color: rgb(250, 254, 138);
/* oklch */ color: oklch(97.0% 0.139 110.5);
Tailwind
colors: {
  custom: {
    50: '#fefeae',
    500: '#fafe8a',
    950: '#000000',
  },
}
SCSS
$custom: #fafe8a;
$custom-light: #fefeae;
$custom-dark: #000000;
JSON
{
  "hex": "#fafe8a",
  "rgb": {
    "r": 250,
    "g": 254,
    "b": 138
  },
  "hsl": {
    "h": 62.069,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.97029,
    "c": 0.13935,
    "h": 110.5
  },
  "luminance": 0.93043
}

Semantic roles & 50–950 ramp

primary
#FAFE8A
secondary
#534EDE
accent
#00E608
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FAFE8A

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

Preview Lab → · Contrast checker → · Palette generator →

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