#FFFAA7#FFFAA7

#FFFAA7 is a very light, moderate yellow. Relative luminance 0.924; OKLCH L 97.0% C 0.103 H 105.2°. Best body text is #000000 at 19.48:1 contrast (WCAG AA passes).

Color values

HEX#FFFAA7
RGBrgb(255, 250, 167)
HSLhsl(57, 100%, 83%)
HSVhsv(57, 35%, 100%)
CMYKcmyk(0%, 2%, 34.5%, 0%)
CIE-LABlab(96.99, -10.28, 40.46)
CIE-LCHlch(96.99, 41.75, 104.25°)
OKLaboklab(97.05% -0.0272 0.0999)
OKLCHoklch(97.05% 0.104 105.2)
XYZxyz(82.4016, 92.4230, 50.0504)
Luminance0.9242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFAA7 #A7ACFF
analogous
#FFCEA7 #FFFAA7 #D8FFA7
triadic
#FFFAA7 #A7FFFA #FAA7FF
tetradic
#FFFAA7 #A7FFCE #A7ACFF #FFA7D8
square
#FFFAA7 #A7FFCE #A7ACFF #FFA7D8
split-complementary
#FFFAA7 #A7D8FF #CEA7FF
monochromatic
#FFF32D #FFF76A #FFFAA7 #FFFDE0 #FFFDE0

Accessibility & contrast

On white

1.08
#FFFAA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.48
#FFFAA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFAA7
19.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFAA7#FFFFFF#000000##000000
##FFFAA71.001.0819.4819.48
#FFFFFF1.081.0021.0021.00
#00000019.4821.001.001.00
##00000019.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF4A1
Deuteranopia (green-blind)
#FFF8AA
Tritanopia (blue-blind)
#FFF0E5
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffaa7;
/* rgb */ color: rgb(255, 250, 167);
/* oklch */ color: oklch(97.0% 0.103 105.2);
Tailwind
colors: {
  custom: {
    50: '#fffbc2',
    500: '#fffaa7',
    950: '#000000',
  },
}
SCSS
$custom: #fffaa7;
$custom-light: #fffbc2;
$custom-dark: #000000;
JSON
{
  "hex": "#fffaa7",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 167
  },
  "hsl": {
    "h": 56.591,
    "s": 100,
    "l": 82.745
  },
  "oklch": {
    "l": 0.97047,
    "c": 0.1035,
    "h": 105.2
  },
  "luminance": 0.92421
}

Semantic roles & 50–950 ramp

primary
#FFFAA7
secondary
#666DE4
accent
#0DE600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FFFAA7

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

Preview Lab → · Contrast checker → · Palette generator →

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