#FAFE7A#FAFE7A

#FAFE7A is a very light, vivid yellow. Relative luminance 0.926; OKLCH L 96.8% C 0.154 H 110.5°. Best body text is #000000 at 19.52:1 contrast (WCAG AA passes).

Color values

HEX#FAFE7A
RGBrgb(250, 254, 122)
HSLhsl(62, 99%, 74%)
HSVhsv(62, 52%, 100%)
CMYKcmyk(1.6%, 0%, 52%, 0.4%)
CIE-LABlab(97.07, -18.50, 61.76)
CIE-LCHlch(97.07, 64.47, 106.67°)
OKLaboklab(96.83% -0.0542 0.1447)
OKLCHoklch(96.83% 0.154 110.5)
XYZxyz(78.3808, 92.6145, 32.1560)
Luminance0.9261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFE7A #7E7AFE
analogous
#FEC07A #FAFE7A #B8FE7A
triadic
#FAFE7A #7AFAFE #FE7AFA
tetradic
#FAFE7A #7AFEC0 #7E7AFE #FE7AB8
square
#FAFE7A #7AFEC0 #7E7AFE #FE7AB8
split-complementary
#FAFE7A #7AB8FE #C07AFE
monochromatic
#F4FC02 #F8FE3D #FAFE7A #FCFEB7 #FEFFE1

Accessibility & contrast

On white

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

On black

19.52
#FAFE7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFE7A
19.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFE7A#FFFFFF#000000##000000
##FAFE7A1.001.0819.5219.52
#FFFFFF1.081.0021.0021.00
#00000019.5221.001.001.00
##00000019.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF46D
Deuteranopia (green-blind)
#FFF981
Tritanopia (blue-blind)
#FFF1E0
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fafe7a;
/* rgb */ color: rgb(250, 254, 122);
/* oklch */ color: oklch(96.8% 0.154 110.5);
Tailwind
colors: {
  custom: {
    50: '#fefea4',
    500: '#fafe7a',
    950: '#000000',
  },
}
SCSS
$custom: #fafe7a;
$custom-light: #fefea4;
$custom-dark: #000000;
JSON
{
  "hex": "#fafe7a",
  "rgb": {
    "r": 250,
    "g": 254,
    "b": 122
  },
  "hsl": {
    "h": 61.818,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.96833,
    "c": 0.15449,
    "h": 110.5
  },
  "luminance": 0.92613
}

Semantic roles & 50–950 ramp

primary
#FAFE7A
secondary
#4540DC
accent
#00E607
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAFE7A

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

Preview Lab → · Contrast checker → · Palette generator →

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