#FFFA96#FFFA96
#FFFA96 is a very light, vivid yellow. Relative luminance 0.918; OKLCH L 96.8% C 0.122 H 106.0°. Best body text is #000000 at 19.37:1 contrast (WCAG AA passes).
Color values
| HEX | #FFFA96 |
|---|---|
| RGB | rgb(255, 250, 150) |
| HSL | hsl(57, 100%, 79%) |
| HSV | hsv(57, 41%, 100%) |
| CMYK | cmyk(0%, 2%, 41.2%, 0%) |
| CIE-LAB | lab(96.75, -12.09, 48.45) |
| CIE-LCH | lch(96.75, 49.94, 104.01°) |
| OKLab | oklab(96.78% -0.0336 0.1174) |
| OKLCH | oklch(96.78% 0.122 106) |
| XYZ | xyz(80.9321, 91.8352, 42.3109) |
| Luminance | 0.9183 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Buff
#FEF69E
ΔE00 2.02
Manilla
#FFFA86
ΔE00 2.20
Dark Cream
#FFF39A
ΔE00 2.64
Yellowish Tan
#FCFC81
ΔE00 3.15
Pale Yellow
#FFFF84
ΔE00 3.20
Straw
#FCF679
ΔE00 3.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFFA96 #969BFF
analogous
#FFC696 #FFFA96 #D0FF96
triadic
#FFFA96 #96FFFA #FA96FF
tetradic
#FFFA96 #96FFC6 #969BFF #FF96D0
square
#FFFA96 #96FFC6 #969BFF #FF96D0
split-complementary
#FFFA96 #96D0FF #C696FF
monochromatic
#FFF41C #FFF759 #FFFA96 #FFFDD3 #FFFEE0
Accessibility & contrast
On white
1.08
#FFFA96 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.37
#FFFA96 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFFA96
19.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFFA96 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFFA96 | 1.00 | 1.08 | 19.37 | 19.37 |
| #FFFFFF | 1.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF38E
Deuteranopia (green-blind)
#FFF89A
Tritanopia (blue-blind)
#FFEEE2
Achromatopsia (no color)
#F6F6F6
Design tokens & code
CSS
--color: #fffa96; /* rgb */ color: rgb(255, 250, 150); /* oklch */ color: oklch(96.8% 0.122 106.0);
Tailwind
colors: {
custom: {
50: '#fffbb6',
500: '#fffa96',
950: '#000000',
},
}SCSS
$custom: #fffa96; $custom-light: #fffbb6; $custom-dark: #000000;
JSON
{
"hex": "#fffa96",
"rgb": {
"r": 255,
"g": 250,
"b": 150
},
"hsl": {
"h": 57.143,
"s": 100,
"l": 79.412
},
"oklch": {
"l": 0.96779,
"c": 0.12209,
"h": 106
},
"luminance": 0.91833
}Semantic roles & 50–950 ramp
primary
#FFFA96
secondary
#585EE1
accent
#0BE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581