#FAFE9B#FAFE9B

#FAFE9B is a very light, vivid yellow. Relative luminance 0.936; OKLCH L 97.3% C 0.122 H 110.5°. Best body text is #000000 at 19.71:1 contrast (WCAG AA passes).

Color values

HEX#FAFE9B
RGBrgb(250, 254, 155)
HSLhsl(62, 98%, 80%)
HSVhsv(62, 39%, 100%)
CMYKcmyk(1.6%, 0%, 39%, 0.4%)
CIE-LABlab(97.46, -15.43, 46.86)
CIE-LCHlch(97.46, 49.33, 108.23°)
OKLaboklab(97.27% -0.0425 0.1141)
OKLCHoklch(97.27% 0.122 110.5)
XYZxyz(80.7835, 93.5756, 44.8103)
Luminance0.9357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFE9B #9F9BFE
analogous
#FED09B #FAFE9B #C9FE9B
triadic
#FAFE9B #9BFAFE #FE9BFA
tetradic
#FAFE9B #9BFED0 #9F9BFE #FE9BC9
square
#FAFE9B #9BFED0 #9F9BFE #FE9BC9
split-complementary
#FAFE9B #9BC9FE #D09BFE
monochromatic
#F4FD22 #F7FD5E #FAFE9B #FDFFD8 #FDFFE1

Accessibility & contrast

On white

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

On black

19.71
#FAFE9B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFE9B
19.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFE9B#FFFFFF#000000##000000
##FAFE9B1.001.0719.7119.71
#FFFFFF1.071.0021.0021.00
#00000019.7121.001.001.00
##00000019.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF693
Deuteranopia (green-blind)
#FFF99F
Tritanopia (blue-blind)
#FFF3E6
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fafe9b;
/* rgb */ color: rgb(250, 254, 155);
/* oklch */ color: oklch(97.3% 0.122 110.5);
Tailwind
colors: {
  custom: {
    50: '#fdfeba',
    500: '#fafe9b',
    950: '#000000',
  },
}
SCSS
$custom: #fafe9b;
$custom-light: #fdfeba;
$custom-dark: #000000;
JSON
{
  "hex": "#fafe9b",
  "rgb": {
    "r": 250,
    "g": 254,
    "b": 155
  },
  "hsl": {
    "h": 62.424,
    "s": 98.02,
    "l": 80.196
  },
  "oklch": {
    "l": 0.9727,
    "c": 0.12175,
    "h": 110.5
  },
  "luminance": 0.93574
}

Semantic roles & 50–950 ramp

primary
#FAFE9B
secondary
#625CE1
accent
#00E609
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FAFE9B

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

Preview Lab → · Contrast checker → · Palette generator →

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