#FFFAB5#FFFAB5

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

Color values

HEX#FFFAB5
RGBrgb(255, 250, 181)
HSLhsl(56, 100%, 85%)
HSVhsv(56, 29%, 100%)
CMYKcmyk(0%, 2%, 29%, 0%)
CIE-LABlab(97.22, -8.61, 33.78)
CIE-LCHlch(97.22, 34.87, 104.31°)
OKLaboklab(97.3% -0.0217 0.0846)
OKLCHoklch(97.3% 0.087 104.4)
XYZxyz(83.7666, 92.9690, 57.2392)
Luminance0.9297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFAB5 #B5BAFF
analogous
#FFD5B5 #FFFAB5 #DFFFB5
triadic
#FFFAB5 #B5FFFA #FAB5FF
tetradic
#FFFAB5 #B5FFD5 #B5BAFF #FFB5DF
square
#FFFAB5 #B5FFD5 #B5BAFF #FFB5DF
split-complementary
#FFFAB5 #B5DFFF #D5B5FF
monochromatic
#FFF23B #FFF678 #FFFAB5 #FFFDE0 #FFFDE0

Accessibility & contrast

On white

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

On black

19.59
#FFFAB5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFAB5
19.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFAB5#FFFFFF#000000##000000
##FFFAB51.001.0719.5919.59
#FFFFFF1.071.0021.0021.00
#00000019.5921.001.001.00
##00000019.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF5B0
Deuteranopia (green-blind)
#FFF9B8
Tritanopia (blue-blind)
#FFF1E8
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffab5;
/* rgb */ color: rgb(255, 250, 181);
/* oklch */ color: oklch(97.3% 0.087 104.4);
Tailwind
colors: {
  custom: {
    50: '#fffbcb',
    500: '#fffab5',
    950: '#000000',
  },
}
SCSS
$custom: #fffab5;
$custom-light: #fffbcb;
$custom-dark: #000000;
JSON
{
  "hex": "#fffab5",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 181
  },
  "hsl": {
    "h": 55.946,
    "s": 100,
    "l": 85.49
  },
  "oklch": {
    "l": 0.97296,
    "c": 0.08733,
    "h": 104.4
  },
  "luminance": 0.92967
}

Semantic roles & 50–950 ramp

primary
#FFFAB5
secondary
#727AE6
accent
#10E600
background
#FFFFFE
surface
#FFFFFA
border
#D7D7D3
text
#181713
muted
#868583

Preview Lab

Preview with #FFFAB5

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

Preview Lab → · Contrast checker → · Palette generator →

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