#FAFFBF#FAFFBF

#FAFFBF is a very light, moderate yellow. Relative luminance 0.956; OKLCH L 98.1% C 0.082 H 111.5°. Best body text is #000000 at 20.12:1 contrast (WCAG AA passes).

Color values

HEX#FAFFBF
RGBrgb(250, 255, 191)
HSLhsl(65, 100%, 87%)
HSVhsv(65, 25%, 100%)
CMYKcmyk(2%, 0%, 25.1%, 0%)
CIE-LABlab(98.28, -11.62, 30.13)
CIE-LCHlch(98.28, 32.29, 111.10°)
OKLaboklab(98.1% -0.03 0.076)
OKLCHoklch(98.1% 0.082 111.5)
XYZxyz(84.5881, 95.6065, 63.2779)
Luminance0.9561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFFBF #C4BFFF
analogous
#FFE4BF #FAFFBF #DAFFBF
triadic
#FAFFBF #BFFAFF #FFBFFA
tetradic
#FAFFBF #BFFFE4 #C4BFFF #FFBFDA
square
#FAFFBF #BFFFE4 #C4BFFF #FFBFDA
split-complementary
#FAFFBF #BFDAFF #E4BFFF
monochromatic
#F0FF45 #F5FF82 #FAFFBF #FDFFE0 #FDFFE0

Accessibility & contrast

On white

1.04
#FAFFBF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.12
#FAFFBF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFFBF
20.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFFBF#FFFFFF#000000##000000
##FAFFBF1.001.0420.1220.12
#FFFFFF1.041.0021.0021.00
#00000020.1221.001.001.00
##00000020.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF9BB
Deuteranopia (green-blind)
#FFFBC2
Tritanopia (blue-blind)
#FFF7EE
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #faffbf;
/* rgb */ color: rgb(250, 255, 191);
/* oklch */ color: oklch(98.1% 0.082 111.5);
Tailwind
colors: {
  custom: {
    50: '#fcffd2',
    500: '#faffbf',
    950: '#000000',
  },
}
SCSS
$custom: #faffbf;
$custom-light: #fcffd2;
$custom-dark: #000000;
JSON
{
  "hex": "#faffbf",
  "rgb": {
    "r": 250,
    "g": 255,
    "b": 191
  },
  "hsl": {
    "h": 64.688,
    "s": 100,
    "l": 87.451
  },
  "oklch": {
    "l": 0.98101,
    "c": 0.08172,
    "h": 111.5
  },
  "luminance": 0.95606
}

Semantic roles & 50–950 ramp

primary
#FAFFBF
secondary
#837BE8
accent
#00E612
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#171814
muted
#858683

Preview Lab

Preview with #FAFFBF

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

Preview Lab → · Contrast checker → · Palette generator →

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