#FFFAB8#FFFAB8

#FFFAB8 is a very light, moderate yellow. Relative luminance 0.931; OKLCH L 97.4% C 0.084 H 104.2°. Best body text is #000000 at 19.62:1 contrast (WCAG AA passes).

Color values

HEX#FFFAB8
RGBrgb(255, 250, 184)
HSLhsl(56, 100%, 86%)
HSVhsv(56, 28%, 100%)
CMYKcmyk(0%, 2%, 27.8%, 0%)
CIE-LABlab(97.27, -8.24, 32.35)
CIE-LCHlch(97.27, 33.38, 104.29°)
OKLaboklab(97.35% -0.0205 0.0812)
OKLCHoklch(97.35% 0.084 104.2)
XYZxyz(84.0777, 93.0934, 58.8778)
Luminance0.9309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFAB8 #B8BDFF
analogous
#FFD6B8 #FFFAB8 #E0FFB8
triadic
#FFFAB8 #B8FFFA #FAB8FF
tetradic
#FFFAB8 #B8FFD6 #B8BDFF #FFB8E0
square
#FFFAB8 #B8FFD6 #B8BDFF #FFB8E0
split-complementary
#FFFAB8 #B8E0FF #D6B8FF
monochromatic
#FFF13E #FFF67B #FFFAB8 #FFFDE0 #FFFDE0

Accessibility & contrast

On white

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

On black

19.62
#FFFAB8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFAB8
19.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFAB8#FFFFFF#000000##000000
##FFFAB81.001.0719.6219.62
#FFFFFF1.071.0021.0021.00
#00000019.6221.001.001.00
##00000019.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF5B4
Deuteranopia (green-blind)
#FFF9BA
Tritanopia (blue-blind)
#FFF1E9
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffab8;
/* rgb */ color: rgb(255, 250, 184);
/* oklch */ color: oklch(97.4% 0.084 104.2);
Tailwind
colors: {
  custom: {
    50: '#fffbcd',
    500: '#fffab8',
    950: '#000000',
  },
}
SCSS
$custom: #fffab8;
$custom-light: #fffbcd;
$custom-dark: #000000;
JSON
{
  "hex": "#fffab8",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 184
  },
  "hsl": {
    "h": 55.775,
    "s": 100,
    "l": 86.078
  },
  "oklch": {
    "l": 0.97353,
    "c": 0.08378,
    "h": 104.2
  },
  "luminance": 0.93092
}

Semantic roles & 50–950 ramp

primary
#FFFAB8
secondary
#757DE7
accent
#10E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181713
muted
#868583

Preview Lab

Preview with #FFFAB8

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

Preview Lab → · Contrast checker → · Palette generator →

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