#FFFFA1#FFFFA1

#FFFFA1 is a very light, moderate yellow. Relative luminance 0.954; OKLCH L 98.0% C 0.116 H 108.4°. Best body text is #000000 at 20.07:1 contrast (WCAG AA passes).

Color values

HEX#FFFFA1
RGBrgb(255, 255, 161)
HSLhsl(60, 100%, 82%)
HSVhsv(60, 37%, 100%)
CMYKcmyk(0%, 0%, 36.9%, 0%)
CIE-LABlab(98.18, -13.39, 44.93)
CIE-LCHlch(98.18, 46.89, 106.59°)
OKLaboklab(97.96% -0.0365 0.1099)
OKLCHoklch(97.96% 0.116 108.4)
XYZxyz(83.4340, 95.3548, 47.7214)
Luminance0.9535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFFA1 #A1A1FF
analogous
#FFD0A1 #FFFFA1 #D0FFA1
triadic
#FFFFA1 #A1FFFF #FFA1FF
tetradic
#FFFFA1 #A1FFD0 #A1A1FF #FFA1D0
square
#FFFFA1 #A1FFD0 #A1A1FF #FFA1D0
split-complementary
#FFFFA1 #A1D0FF #D0A1FF
monochromatic
#FFFF27 #FFFF64 #FFFFA1 #FFFFDE #FFFFE0

Accessibility & contrast

On white

1.05
#FFFFA1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.07
#FFFFA1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFFA1
20.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFFA1#FFFFFF#000000##000000
##FFFFA11.001.0520.0720.07
#FFFFFF1.051.0021.0021.00
#00000020.0721.001.001.00
##00000020.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF89A
Deuteranopia (green-blind)
#FFFCA5
Tritanopia (blue-blind)
#FFF4E8
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #ffffa1;
/* rgb */ color: rgb(255, 255, 161);
/* oklch */ color: oklch(98.0% 0.116 108.4);
Tailwind
colors: {
  custom: {
    50: '#ffffbe',
    500: '#ffffa1',
    950: '#000000',
  },
}
SCSS
$custom: #ffffa1;
$custom-light: #ffffbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ffffa1",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 161
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 81.569
  },
  "oklch": {
    "l": 0.97958,
    "c": 0.11582,
    "h": 108.4
  },
  "luminance": 0.95353
}

Semantic roles & 50–950 ramp

primary
#FFFFA1
secondary
#6161E3
accent
#00E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FFFFA1

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

Preview Lab → · Contrast checker → · Palette generator →

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