#FFFAB3#FFFAB3

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

Color values

HEX#FFFAB3
RGBrgb(255, 250, 179)
HSLhsl(56, 100%, 85%)
HSVhsv(56, 30%, 100%)
CMYKcmyk(0%, 2%, 29.8%, 0%)
CIE-LABlab(97.18, -8.86, 34.74)
CIE-LCHlch(97.18, 35.85, 104.31°)
OKLaboklab(97.26% -0.0225 0.0868)
OKLCHoklch(97.26% 0.09 104.5)
XYZxyz(83.5628, 92.8875, 56.1662)
Luminance0.9289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFAB3 #B3B8FF
analogous
#FFD4B3 #FFFAB3 #DEFFB3
triadic
#FFFAB3 #B3FFFA #FAB3FF
tetradic
#FFFAB3 #B3FFD4 #B3B8FF #FFB3DE
square
#FFFAB3 #B3FFD4 #B3B8FF #FFB3DE
split-complementary
#FFFAB3 #B3DEFF #D4B3FF
monochromatic
#FFF239 #FFF676 #FFFAB3 #FFFDE0 #FFFDE0

Accessibility & contrast

On white

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

On black

19.58
#FFFAB3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFAB3
19.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFAB3#FFFFFF#000000##000000
##FFFAB31.001.0719.5819.58
#FFFFFF1.071.0021.0021.00
#00000019.5821.001.001.00
##00000019.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffab3;
/* rgb */ color: rgb(255, 250, 179);
/* oklch */ color: oklch(97.3% 0.090 104.5);
Tailwind
colors: {
  custom: {
    50: '#fffbca',
    500: '#fffab3',
    950: '#000000',
  },
}
SCSS
$custom: #fffab3;
$custom-light: #fffbca;
$custom-dark: #000000;
JSON
{
  "hex": "#fffab3",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 179
  },
  "hsl": {
    "h": 56.053,
    "s": 100,
    "l": 85.098
  },
  "oklch": {
    "l": 0.97259,
    "c": 0.08968,
    "h": 104.5
  },
  "luminance": 0.92886
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFAB3

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

Preview Lab → · Contrast checker → · Palette generator →

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