#FFFAB4#FFFAB4

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

Color values

HEX#FFFAB4
RGBrgb(255, 250, 180)
HSLhsl(56, 100%, 85%)
HSVhsv(56, 29%, 100%)
CMYKcmyk(0%, 2%, 29.4%, 0%)
CIE-LABlab(97.20, -8.74, 34.26)
CIE-LCHlch(97.20, 35.36, 104.31°)
OKLaboklab(97.28% -0.0221 0.0857)
OKLCHoklch(97.28% 0.089 104.5)
XYZxyz(83.6643, 92.9281, 56.7008)
Luminance0.9293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFAB4 #B4B9FF
analogous
#FFD4B4 #FFFAB4 #DEFFB4
triadic
#FFFAB4 #B4FFFA #FAB4FF
tetradic
#FFFAB4 #B4FFD4 #B4B9FF #FFB4DE
square
#FFFAB4 #B4FFD4 #B4B9FF #FFB4DE
split-complementary
#FFFAB4 #B4DEFF #D4B4FF
monochromatic
#FFF23A #FFF677 #FFFAB4 #FFFDE0 #FFFDE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFFAB4#FFFFFF#000000##000000
##FFFAB41.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)
#FFF5AF
Deuteranopia (green-blind)
#FFF9B7
Tritanopia (blue-blind)
#FFF1E8
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffab4;
/* rgb */ color: rgb(255, 250, 180);
/* oklch */ color: oklch(97.3% 0.089 104.5);
Tailwind
colors: {
  custom: {
    50: '#fffbcb',
    500: '#fffab4',
    950: '#000000',
  },
}
SCSS
$custom: #fffab4;
$custom-light: #fffbcb;
$custom-dark: #000000;
JSON
{
  "hex": "#fffab4",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 180
  },
  "hsl": {
    "h": 56,
    "s": 100,
    "l": 85.294
  },
  "oklch": {
    "l": 0.97278,
    "c": 0.08851,
    "h": 104.5
  },
  "luminance": 0.92927
}

Semantic roles & 50–950 ramp

primary
#FFFAB4
secondary
#7179E6
accent
#0FE600
background
#FFFFFE
surface
#FFFFFA
border
#D7D7D3
text
#181713
muted
#868583

Preview Lab

Preview with #FFFAB4

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

Preview Lab → · Contrast checker → · Palette generator →

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