#FFFFA6#FFFFA6

#FFFFA6 is a very light, moderate yellow. Relative luminance 0.955; OKLCH L 98.0% C 0.110 H 108.3°. Best body text is #000000 at 20.11:1 contrast (WCAG AA passes).

Color values

HEX#FFFFA6
RGBrgb(255, 255, 166)
HSLhsl(60, 100%, 83%)
HSVhsv(60, 35%, 100%)
CMYKcmyk(0%, 0%, 34.9%, 0%)
CIE-LABlab(98.25, -12.84, 42.58)
CIE-LCHlch(98.25, 44.48, 106.78°)
OKLaboklab(98.04% -0.0346 0.1047)
OKLCHoklch(98.04% 0.11 108.3)
XYZxyz(83.8838, 95.5347, 50.0902)
Luminance0.9553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFFA6 #A6A6FF
analogous
#FFD2A6 #FFFFA6 #D2FFA6
triadic
#FFFFA6 #A6FFFF #FFA6FF
tetradic
#FFFFA6 #A6FFD2 #A6A6FF #FFA6D2
square
#FFFFA6 #A6FFD2 #A6A6FF #FFA6D2
split-complementary
#FFFFA6 #A6D2FF #D2A6FF
monochromatic
#FFFF2C #FFFF69 #FFFFA6 #FFFFE0 #FFFFE0

Accessibility & contrast

On white

1.04
#FFFFA6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.11
#FFFFA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFFA6
20.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFFA6#FFFFFF#000000##000000
##FFFFA61.001.0420.1120.11
#FFFFFF1.041.0021.0021.00
#00000020.1121.001.001.00
##00000020.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF8A0
Deuteranopia (green-blind)
#FFFCAA
Tritanopia (blue-blind)
#FFF4E9
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #ffffa6;
/* rgb */ color: rgb(255, 255, 166);
/* oklch */ color: oklch(98.0% 0.110 108.3);
Tailwind
colors: {
  custom: {
    50: '#ffffc1',
    500: '#ffffa6',
    950: '#000000',
  },
}
SCSS
$custom: #ffffa6;
$custom-light: #ffffc1;
$custom-dark: #000000;
JSON
{
  "hex": "#ffffa6",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 166
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 82.549
  },
  "oklch": {
    "l": 0.98038,
    "c": 0.1103,
    "h": 108.3
  },
  "luminance": 0.95533
}

Semantic roles & 50–950 ramp

primary
#FFFFA6
secondary
#6565E4
accent
#00E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FFFFA6

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

Preview Lab → · Contrast checker → · Palette generator →

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