#FFFAB2#FFFAB2

#FFFAB2 is a very light, moderate yellow. Relative luminance 0.928; OKLCH L 97.2% C 0.091 H 104.6°. Best body text is #000000 at 19.57:1 contrast (WCAG AA passes).

Color values

HEX#FFFAB2
RGBrgb(255, 250, 178)
HSLhsl(56, 100%, 85%)
HSVhsv(56, 30%, 100%)
CMYKcmyk(0%, 2%, 30.2%, 0%)
CIE-LABlab(97.17, -8.98, 35.22)
CIE-LCHlch(97.17, 36.35, 104.31°)
OKLaboklab(97.24% -0.0229 0.0879)
OKLCHoklch(97.24% 0.091 104.6)
XYZxyz(83.4621, 92.8472, 55.6355)
Luminance0.9285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFAB2 #B2B7FF
analogous
#FFD4B2 #FFFAB2 #DDFFB2
triadic
#FFFAB2 #B2FFFA #FAB2FF
tetradic
#FFFAB2 #B2FFD4 #B2B7FF #FFB2DD
square
#FFFAB2 #B2FFD4 #B2B7FF #FFB2DD
split-complementary
#FFFAB2 #B2DDFF #D4B2FF
monochromatic
#FFF238 #FFF675 #FFFAB2 #FFFDE0 #FFFDE0

Accessibility & contrast

On white

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

On black

19.57
#FFFAB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFAB2
19.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFAB2#FFFFFF#000000##000000
##FFFAB21.001.0719.5719.57
#FFFFFF1.071.0021.0021.00
#00000019.5721.001.001.00
##00000019.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF5AD
Deuteranopia (green-blind)
#FFF9B5
Tritanopia (blue-blind)
#FFF1E7
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffab2;
/* rgb */ color: rgb(255, 250, 178);
/* oklch */ color: oklch(97.2% 0.091 104.6);
Tailwind
colors: {
  custom: {
    50: '#fffbc9',
    500: '#fffab2',
    950: '#000000',
  },
}
SCSS
$custom: #fffab2;
$custom-light: #fffbc9;
$custom-dark: #000000;
JSON
{
  "hex": "#fffab2",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 178
  },
  "hsl": {
    "h": 56.104,
    "s": 100,
    "l": 84.902
  },
  "oklch": {
    "l": 0.97241,
    "c": 0.09085,
    "h": 104.6
  },
  "luminance": 0.92846
}

Semantic roles & 50–950 ramp

primary
#FFFAB2
secondary
#7077E6
accent
#0FE600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181713
muted
#868582

Preview Lab

Preview with #FFFAB2

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

Preview Lab → · Contrast checker → · Palette generator →

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