#FAF7BF#FAF7BF

#FAF7BF is a very light, moderate yellow. Relative luminance 0.906; OKLCH L 96.5% C 0.072 H 105.1°. Best body text is #000000 at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#FAF7BF
RGBrgb(250, 247, 191)
HSLhsl(57, 86%, 86%)
HSVhsv(57, 24%, 98%)
CMYKcmyk(0%, 1.2%, 23.6%, 2%)
CIE-LABlab(96.25, -7.67, 27.37)
CIE-LCHlch(96.25, 28.42, 105.66°)
OKLaboklab(96.5% -0.0187 0.0694)
OKLCHoklch(96.5% 0.072 105.1)
XYZxyz(82.0890, 90.6083, 62.4449)
Luminance0.9061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF7BF #BFC2FA
analogous
#FADABF #FAF7BF #E0FABF
triadic
#FAF7BF #BFFAF7 #F7BFFA
tetradic
#FAF7BF #BFFADA #BFC2FA #FABFE0
square
#FAF7BF #BFFADA #BFC2FA #FABFE0
split-complementary
#FAF7BF #BFE0FA #DABFFA
monochromatic
#F1E94D #F6F086 #FAF7BF #FDFBE3 #FDFBE3

Accessibility & contrast

On white

1.10
#FAF7BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.12
#FAF7BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF7BF
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF7BF#FFFFFF#000000##000000
##FAF7BF1.001.1019.1219.12
#FFFFFF1.101.0021.0021.00
#00000019.1221.001.001.00
##00000019.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF3BB
Deuteranopia (green-blind)
#FFF6C1
Tritanopia (blue-blind)
#FFF0E8
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #faf7bf;
/* rgb */ color: rgb(250, 247, 191);
/* oklch */ color: oklch(96.5% 0.072 105.1);
Tailwind
colors: {
  custom: {
    50: '#fcf9d2',
    500: '#faf7bf',
    950: '#000000',
  },
}
SCSS
$custom: #faf7bf;
$custom-light: #fcf9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#faf7bf",
  "rgb": {
    "r": 250,
    "g": 247,
    "b": 191
  },
  "hsl": {
    "h": 56.949,
    "s": 85.507,
    "l": 86.471
  },
  "oklch": {
    "l": 0.96495,
    "c": 0.07183,
    "h": 105.1
  },
  "luminance": 0.90607
}

Semantic roles & 50–950 ramp

primary
#FAF7BF
secondary
#7E83DF
accent
#0FE203
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#171714
muted
#858583

Preview Lab

Preview with #FAF7BF

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

Preview Lab → · Contrast checker → · Palette generator →

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