#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 |
|---|---|
| RGB | rgb(255, 255, 165) |
| HSL | hsl(60, 100%, 82%) |
| HSV | hsv(60, 35%, 100%) |
| CMYK | cmyk(0%, 0%, 35.3%, 0%) |
| CIE-LAB | lab(98.23, -12.95, 43.06) |
| CIE-LCH | lch(98.23, 44.96, 106.74°) |
| OKLab | oklab(98.02% -0.035 0.1058) |
| OKLCH | oklch(98.02% 0.111 108.3) |
| XYZ | xyz(83.7924, 95.4982, 49.6089) |
| Luminance | 0.9550 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Parchment
#FEFCAF
ΔE00 2.23
Buff
#FEF69E
ΔE00 2.57
Creme
#FFFFB6
ΔE00 2.94
Light Beige
#FFFEB6
ΔE00 3.10
Dark Cream
#FFF39A
ΔE00 3.73
Manilla
#FFFA86
ΔE00 4.24
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 |
|---|---|---|---|---|
| ##FFFFA5 | 1.00 | 1.04 | 20.10 | 20.10 |
| #FFFFFF | 1.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 20.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 20.10 | 21.00 | 1.00 | 1.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