#FFFAA4#FFFAA4

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

Color values

HEX#FFFAA4
RGBrgb(255, 250, 164)
HSLhsl(57, 100%, 82%)
HSVhsv(57, 36%, 100%)
CMYKcmyk(0%, 2%, 35.7%, 0%)
CIE-LABlab(96.95, -10.61, 41.88)
CIE-LCHlch(96.95, 43.21, 104.22°)
OKLaboklab(97% -0.0283 0.1031)
OKLCHoklch(97% 0.107 105.4)
XYZxyz(82.1275, 92.3133, 48.6067)
Luminance0.9231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFAA4 #A4A9FF
analogous
#FFCCA4 #FFFAA4 #D7FFA4
triadic
#FFFAA4 #A4FFFA #FAA4FF
tetradic
#FFFAA4 #A4FFCC #A4A9FF #FFA4D7
square
#FFFAA4 #A4FFCC #A4A9FF #FFA4D7
split-complementary
#FFFAA4 #A4D7FF #CCA4FF
monochromatic
#FFF32A #FFF767 #FFFAA4 #FFFDE0 #FFFDE0

Accessibility & contrast

On white

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

On black

19.46
#FFFAA4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFAA4
19.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFAA4#FFFFFF#000000##000000
##FFFAA41.001.0819.4619.46
#FFFFFF1.081.0021.0021.00
#00000019.4621.001.001.00
##00000019.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF49E
Deuteranopia (green-blind)
#FFF8A7
Tritanopia (blue-blind)
#FFEFE4
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffaa4;
/* rgb */ color: rgb(255, 250, 164);
/* oklch */ color: oklch(97.0% 0.107 105.4);
Tailwind
colors: {
  custom: {
    50: '#fffbc0',
    500: '#fffaa4',
    950: '#000000',
  },
}
SCSS
$custom: #fffaa4;
$custom-light: #fffbc0;
$custom-dark: #000000;
JSON
{
  "hex": "#fffaa4",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 164
  },
  "hsl": {
    "h": 56.703,
    "s": 100,
    "l": 82.157
  },
  "oklch": {
    "l": 0.96997,
    "c": 0.10687,
    "h": 105.4
  },
  "luminance": 0.92312
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFAA4

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

Preview Lab → · Contrast checker → · Palette generator →

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