#FFFAAF#FFFAAF

#FFFAAF is a very light, moderate yellow. Relative luminance 0.927; OKLCH L 97.2% C 0.094 H 104.8°. Best body text is #000000 at 19.55:1 contrast (WCAG AA passes).

Color values

HEX#FFFAAF
RGBrgb(255, 250, 175)
HSLhsl(56, 100%, 84%)
HSVhsv(56, 31%, 100%)
CMYKcmyk(0%, 2%, 31.4%, 0%)
CIE-LABlab(97.12, -9.34, 36.65)
CIE-LCHlch(97.12, 37.83, 104.30°)
OKLaboklab(97.19% -0.0241 0.0912)
OKLCHoklch(97.19% 0.094 104.8)
XYZxyz(83.1641, 92.7280, 54.0665)
Luminance0.9273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFAAF #AFB4FF
analogous
#FFD2AF #FFFAAF #DCFFAF
triadic
#FFFAAF #AFFFFA #FAAFFF
tetradic
#FFFAAF #AFFFD2 #AFB4FF #FFAFDC
square
#FFFAAF #AFFFD2 #AFB4FF #FFAFDC
split-complementary
#FFFAAF #AFDCFF #D2AFFF
monochromatic
#FFF235 #FFF672 #FFFAAF #FFFDE0 #FFFDE0

Accessibility & contrast

On white

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

On black

19.55
#FFFAAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFAAF
19.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFAAF#FFFFFF#000000##000000
##FFFAAF1.001.0719.5519.55
#FFFFFF1.071.0021.0021.00
#00000019.5521.001.001.00
##00000019.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF4AA
Deuteranopia (green-blind)
#FFF9B2
Tritanopia (blue-blind)
#FFF0E7
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffaaf;
/* rgb */ color: rgb(255, 250, 175);
/* oklch */ color: oklch(97.2% 0.094 104.8);
Tailwind
colors: {
  custom: {
    50: '#fffbc7',
    500: '#fffaaf',
    950: '#000000',
  },
}
SCSS
$custom: #fffaaf;
$custom-light: #fffbc7;
$custom-dark: #000000;
JSON
{
  "hex": "#fffaaf",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 175
  },
  "hsl": {
    "h": 56.25,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.97186,
    "c": 0.09434,
    "h": 104.8
  },
  "luminance": 0.92726
}

Semantic roles & 50–950 ramp

primary
#FFFAAF
secondary
#6D74E5
accent
#0EE600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181713
muted
#868582

Preview Lab

Preview with #FFFAAF

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

Preview Lab → · Contrast checker → · Palette generator →

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