#FFFAB7#FFFAB7

#FFFAB7 is a very light, moderate yellow. Relative luminance 0.930; OKLCH L 97.3% C 0.085 H 104.3°. Best body text is #000000 at 19.61:1 contrast (WCAG AA passes).

Color values

HEX#FFFAB7
RGBrgb(255, 250, 183)
HSLhsl(56, 100%, 86%)
HSVhsv(56, 28%, 100%)
CMYKcmyk(0%, 2%, 28.2%, 0%)
CIE-LABlab(97.25, -8.37, 32.83)
CIE-LCHlch(97.25, 33.87, 104.30°)
OKLaboklab(97.33% -0.0209 0.0823)
OKLCHoklch(97.33% 0.085 104.3)
XYZxyz(83.9732, 93.0516, 58.3277)
Luminance0.9305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFAB7 #B7BCFF
analogous
#FFD6B7 #FFFAB7 #E0FFB7
triadic
#FFFAB7 #B7FFFA #FAB7FF
tetradic
#FFFAB7 #B7FFD6 #B7BCFF #FFB7E0
square
#FFFAB7 #B7FFD6 #B7BCFF #FFB7E0
split-complementary
#FFFAB7 #B7E0FF #D6B7FF
monochromatic
#FFF13D #FFF67A #FFFAB7 #FFFDE0 #FFFDE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFFAB7#FFFFFF#000000##000000
##FFFAB71.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)
#FFF5B3
Deuteranopia (green-blind)
#FFF9B9
Tritanopia (blue-blind)
#FFF1E8
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffab7;
/* rgb */ color: rgb(255, 250, 183);
/* oklch */ color: oklch(97.3% 0.085 104.3);
Tailwind
colors: {
  custom: {
    50: '#fffbcd',
    500: '#fffab7',
    950: '#000000',
  },
}
SCSS
$custom: #fffab7;
$custom-light: #fffbcd;
$custom-dark: #000000;
JSON
{
  "hex": "#fffab7",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 183
  },
  "hsl": {
    "h": 55.833,
    "s": 100,
    "l": 85.882
  },
  "oklch": {
    "l": 0.97334,
    "c": 0.08496,
    "h": 104.3
  },
  "luminance": 0.9305
}

Semantic roles & 50–950 ramp

primary
#FFFAB7
secondary
#747CE6
accent
#10E600
background
#FFFFFE
surface
#FFFFFA
border
#D7D7D3
text
#181713
muted
#868583

Preview Lab

Preview with #FFFAB7

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

Preview Lab → · Contrast checker → · Palette generator →

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