#FFFAA5#FFFAA5

#FFFAA5 is a very light, moderate yellow. Relative luminance 0.923; OKLCH L 97.0% C 0.106 H 105.3°. Best body text is #000000 at 19.47:1 contrast (WCAG AA passes).

Color values

HEX#FFFAA5
RGBrgb(255, 250, 165)
HSLhsl(57, 100%, 82%)
HSVhsv(57, 35%, 100%)
CMYKcmyk(0%, 2%, 35.3%, 0%)
CIE-LABlab(96.96, -10.50, 41.41)
CIE-LCHlch(96.96, 42.72, 104.23°)
OKLaboklab(97.01% -0.0279 0.102)
OKLCHoklch(97.01% 0.106 105.3)
XYZxyz(82.2181, 92.3496, 49.0842)
Luminance0.9235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFAA5 #A5AAFF
analogous
#FFCDA5 #FFFAA5 #D7FFA5
triadic
#FFFAA5 #A5FFFA #FAA5FF
tetradic
#FFFAA5 #A5FFCD #A5AAFF #FFA5D7
square
#FFFAA5 #A5FFCD #A5AAFF #FFA5D7
split-complementary
#FFFAA5 #A5D7FF #CDA5FF
monochromatic
#FFF32B #FFF768 #FFFAA5 #FFFDE0 #FFFDE0

Accessibility & contrast

On white

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

On black

19.47
#FFFAA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFAA5
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFAA5#FFFFFF#000000##000000
##FFFAA51.001.0819.4719.47
#FFFFFF1.081.0021.0021.00
#00000019.4721.001.001.00
##00000019.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF49F
Deuteranopia (green-blind)
#FFF8A8
Tritanopia (blue-blind)
#FFEFE5
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffaa5;
/* rgb */ color: rgb(255, 250, 165);
/* oklch */ color: oklch(97.0% 0.106 105.3);
Tailwind
colors: {
  custom: {
    50: '#fffbc0',
    500: '#fffaa5',
    950: '#000000',
  },
}
SCSS
$custom: #fffaa5;
$custom-light: #fffbc0;
$custom-dark: #000000;
JSON
{
  "hex": "#fffaa5",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 165
  },
  "hsl": {
    "h": 56.667,
    "s": 100,
    "l": 82.353
  },
  "oklch": {
    "l": 0.97014,
    "c": 0.10575,
    "h": 105.3
  },
  "luminance": 0.92348
}

Semantic roles & 50–950 ramp

primary
#FFFAA5
secondary
#646CE4
accent
#0DE600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FFFAA5

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

Preview Lab → · Contrast checker → · Palette generator →

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