#FFFA8E#FFFA8E
#FFFA8E is a very light, vivid yellow. Relative luminance 0.916; OKLCH L 96.7% C 0.130 H 106.3°. Best body text is #000000 at 19.32:1 contrast (WCAG AA passes).
Color values
| HEX | #FFFA8E |
|---|---|
| RGB | rgb(255, 250, 142) |
| HSL | hsl(57, 100%, 78%) |
| HSV | hsv(57, 44%, 100%) |
| CMYK | cmyk(0%, 2%, 44.3%, 0%) |
| CIE-LAB | lab(96.65, -12.87, 52.15) |
| CIE-LCH | lch(96.65, 53.71, 103.86°) |
| OKLab | oklab(96.67% -0.0365 0.1252) |
| OKLCH | oklch(96.67% 0.13 106.3) |
| XYZ | xyz(80.3098, 91.5863, 39.0333) |
| Luminance | 0.9158 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Manilla
#FFFA86
ΔE00 1.06
Yellowish Tan
#FCFC81
ΔE00 2.14
Pale Yellow
#FFFF84
ΔE00 2.24
Straw
#FCF679
ΔE00 2.42
Butter
#FFFF81
ΔE00 2.52
Faded Yellow
#FEFF7F
ΔE00 2.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFFA8E #8E93FF
analogous
#FFC18E #FFFA8E #CBFF8E
triadic
#FFFA8E #8EFFFA #FA8EFF
tetradic
#FFFA8E #8EFFC1 #8E93FF #FF8ECB
square
#FFFA8E #8EFFC1 #8E93FF #FF8ECB
split-complementary
#FFFA8E #8ECBFF #C18EFF
monochromatic
#FFF514 #FFF751 #FFFA8E #FFFDCB #FFFEE0
Accessibility & contrast
On white
1.09
#FFFA8E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.32
#FFFA8E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFFA8E
19.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFFA8E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFFA8E | 1.00 | 1.09 | 19.32 | 19.32 |
| #FFFFFF | 1.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF385
Deuteranopia (green-blind)
#FFF893
Tritanopia (blue-blind)
#FFEEE0
Achromatopsia (no color)
#F5F5F5
Design tokens & code
CSS
--color: #fffa8e; /* rgb */ color: rgb(255, 250, 142); /* oklch */ color: oklch(96.7% 0.130 106.3);
Tailwind
colors: {
custom: {
50: '#fffbb1',
500: '#fffa8e',
950: '#000000',
},
}SCSS
$custom: #fffa8e; $custom-light: #fffbb1; $custom-dark: #000000;
JSON
{
"hex": "#fffa8e",
"rgb": {
"r": 255,
"g": 250,
"b": 142
},
"hsl": {
"h": 57.345,
"s": 100,
"l": 77.843
},
"oklch": {
"l": 0.96665,
"c": 0.13038,
"h": 106.3
},
"luminance": 0.91584
}Semantic roles & 50–950 ramp
primary
#FFFA8E
secondary
#5157E0
accent
#0AE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581