#FAFE82#FAFE82

#FAFE82 is a very light, vivid yellow. Relative luminance 0.928; OKLCH L 96.9% C 0.147 H 110.5°. Best body text is #000000 at 19.56:1 contrast (WCAG AA passes).

Color values

HEX#FAFE82
RGBrgb(250, 254, 130)
HSLhsl(62, 98%, 75%)
HSVhsv(62, 49%, 100%)
CMYKcmyk(1.6%, 0%, 48.8%, 0.4%)
CIE-LABlab(97.15, -17.83, 58.25)
CIE-LCHlch(97.15, 60.92, 107.02°)
OKLaboklab(96.93% -0.0515 0.1378)
OKLCHoklch(96.93% 0.147 110.5)
XYZxyz(78.8970, 92.8210, 34.8749)
Luminance0.9282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFE82 #8682FE
analogous
#FEC482 #FAFE82 #BCFE82
triadic
#FAFE82 #82FAFE #FE82FA
tetradic
#FAFE82 #82FEC4 #8682FE #FE82BC
square
#FAFE82 #82FEC4 #8682FE #FE82BC
split-complementary
#FAFE82 #82BCFE #C482FE
monochromatic
#F5FD09 #F8FE45 #FAFE82 #FCFEBF #FEFFE1

Accessibility & contrast

On white

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

On black

19.56
#FAFE82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFE82
19.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFE82#FFFFFF#000000##000000
##FAFE821.001.0719.5619.56
#FFFFFF1.071.0021.0021.00
#00000019.5621.001.001.00
##00000019.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF577
Deuteranopia (green-blind)
#FFF988
Tritanopia (blue-blind)
#FFF1E2
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fafe82;
/* rgb */ color: rgb(250, 254, 130);
/* oklch */ color: oklch(96.9% 0.147 110.5);
Tailwind
colors: {
  custom: {
    50: '#fefea9',
    500: '#fafe82',
    950: '#000000',
  },
}
SCSS
$custom: #fafe82;
$custom-light: #fefea9;
$custom-dark: #000000;
JSON
{
  "hex": "#fafe82",
  "rgb": {
    "r": 250,
    "g": 254,
    "b": 130
  },
  "hsl": {
    "h": 61.935,
    "s": 98.413,
    "l": 75.294
  },
  "oklch": {
    "l": 0.96927,
    "c": 0.1471,
    "h": 110.5
  },
  "luminance": 0.92819
}

Semantic roles & 50–950 ramp

primary
#FAFE82
secondary
#4C47DD
accent
#00E607
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FAFE82

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

Preview Lab → · Contrast checker → · Palette generator →

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