#FAFE8B#FAFE8B

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

Color values

HEX#FAFE8B
RGBrgb(250, 254, 139)
HSLhsl(62, 98%, 77%)
HSVhsv(62, 45%, 100%)
CMYKcmyk(1.6%, 0%, 45.3%, 0.4%)
CIE-LABlab(97.26, -17.02, 54.22)
CIE-LCHlch(97.26, 56.83, 107.43°)
OKLaboklab(97.04% -0.0484 0.1296)
OKLCHoklch(97.04% 0.138 110.5)
XYZxyz(79.5278, 93.0733, 38.1966)
Luminance0.9307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFE8B #8F8BFE
analogous
#FEC98B #FAFE8B #C1FE8B
triadic
#FAFE8B #8BFAFE #FE8BFA
tetradic
#FAFE8B #8BFEC9 #8F8BFE #FE8BC1
square
#FAFE8B #8BFEC9 #8F8BFE #FE8BC1
split-complementary
#FAFE8B #8BC1FE #C98BFE
monochromatic
#F5FD12 #F7FD4E #FAFE8B #FDFFC8 #FEFFE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FAFE8B#FFFFFF#000000##000000
##FAFE8B1.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)
#FFF581
Deuteranopia (green-blind)
#FFF991
Tritanopia (blue-blind)
#FFF2E3
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fafe8b;
/* rgb */ color: rgb(250, 254, 139);
/* oklch */ color: oklch(97.0% 0.138 110.5);
Tailwind
colors: {
  custom: {
    50: '#fefeaf',
    500: '#fafe8b',
    950: '#000000',
  },
}
SCSS
$custom: #fafe8b;
$custom-light: #fefeaf;
$custom-dark: #000000;
JSON
{
  "hex": "#fafe8b",
  "rgb": {
    "r": 250,
    "g": 254,
    "b": 139
  },
  "hsl": {
    "h": 62.087,
    "s": 98.291,
    "l": 77.059
  },
  "oklch": {
    "l": 0.97042,
    "c": 0.13835,
    "h": 110.5
  },
  "luminance": 0.93072
}

Semantic roles & 50–950 ramp

primary
#FAFE8B
secondary
#544FDE
accent
#00E608
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FAFE8B

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

Preview Lab → · Contrast checker → · Palette generator →

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