#FFF9AA#FFF9AA

#FFF9AA is a very light, moderate yellow. Relative luminance 0.919; OKLCH L 96.9% C 0.099 H 104.4°. Best body text is #000000 at 19.38:1 contrast (WCAG AA passes).

Color values

HEX#FFF9AA
RGBrgb(255, 249, 170)
HSLhsl(56, 100%, 83%)
HSVhsv(56, 33%, 100%)
CMYKcmyk(0%, 2.4%, 33.3%, 0%)
CIE-LABlab(96.79, -9.44, 38.71)
CIE-LCHlch(96.79, 39.84, 103.71°)
OKLaboklab(96.9% -0.0246 0.0959)
OKLCHoklch(96.9% 0.099 104.4)
XYZxyz(82.3722, 91.9154, 51.4246)
Luminance0.9191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF9AA #AAB0FF
analogous
#FFCEAA #FFF9AA #DAFFAA
triadic
#FFF9AA #AAFFF9 #F9AAFF
tetradic
#FFF9AA #AAFFCE #AAB0FF #FFAADA
square
#FFF9AA #AAFFCE #AAB0FF #FFAADA
split-complementary
#FFF9AA #AADAFF #CEAAFF
monochromatic
#FFF030 #FFF56D #FFF9AA #FFFDE0 #FFFDE0

Accessibility & contrast

On white

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

On black

19.38
#FFF9AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF9AA
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF9AA#FFFFFF#000000##000000
##FFF9AA1.001.0819.3819.38
#FFFFFF1.081.0021.0021.00
#00000019.3821.001.001.00
##00000019.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fff9aa;
/* rgb */ color: rgb(255, 249, 170);
/* oklch */ color: oklch(96.9% 0.099 104.4);
Tailwind
colors: {
  custom: {
    50: '#fffbc4',
    500: '#fff9aa',
    950: '#000000',
  },
}
SCSS
$custom: #fff9aa;
$custom-light: #fffbc4;
$custom-dark: #000000;
JSON
{
  "hex": "#fff9aa",
  "rgb": {
    "r": 255,
    "g": 249,
    "b": 170
  },
  "hsl": {
    "h": 55.765,
    "s": 100,
    "l": 83.333
  },
  "oklch": {
    "l": 0.96898,
    "c": 0.09899,
    "h": 104.4
  },
  "luminance": 0.91914
}

Semantic roles & 50–950 ramp

primary
#FFF9AA
secondary
#6971E4
accent
#10E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FFF9AA

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

Preview Lab → · Contrast checker → · Palette generator →

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