#FFFFA5#FFFFA5

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

Color values

HEX#FFFFA5
RGBrgb(255, 255, 165)
HSLhsl(60, 100%, 82%)
HSVhsv(60, 35%, 100%)
CMYKcmyk(0%, 0%, 35.3%, 0%)
CIE-LABlab(98.23, -12.95, 43.06)
CIE-LCHlch(98.23, 44.96, 106.74°)
OKLaboklab(98.02% -0.035 0.1058)
OKLCHoklch(98.02% 0.111 108.3)
XYZxyz(83.7924, 95.4982, 49.6089)
Luminance0.9550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFFA5 #A5A5FF
analogous
#FFD2A5 #FFFFA5 #D2FFA5
triadic
#FFFFA5 #A5FFFF #FFA5FF
tetradic
#FFFFA5 #A5FFD2 #A5A5FF #FFA5D2
square
#FFFFA5 #A5FFD2 #A5A5FF #FFA5D2
split-complementary
#FFFFA5 #A5D2FF #D2A5FF
monochromatic
#FFFF2B #FFFF68 #FFFFA5 #FFFFE0 #FFFFE0

Accessibility & contrast

On white

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

On black

20.10
#FFFFA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFFA5
20.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFFA5#FFFFFF#000000##000000
##FFFFA51.001.0420.1020.10
#FFFFFF1.041.0021.0021.00
#00000020.1021.001.001.00
##00000020.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffffa5;
/* rgb */ color: rgb(255, 255, 165);
/* oklch */ color: oklch(98.0% 0.111 108.3);
Tailwind
colors: {
  custom: {
    50: '#ffffc0',
    500: '#ffffa5',
    950: '#000000',
  },
}
SCSS
$custom: #ffffa5;
$custom-light: #ffffc0;
$custom-dark: #000000;
JSON
{
  "hex": "#ffffa5",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 165
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 82.353
  },
  "oklch": {
    "l": 0.98022,
    "c": 0.11141,
    "h": 108.3
  },
  "luminance": 0.95497
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFFA5

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

Preview Lab → · Contrast checker → · Palette generator →

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