#FAF87D#FAF87D
#FAF87D is a very light, vivid yellow. Relative luminance 0.889; OKLCH L 95.6% C 0.145 H 108.0°. Best body text is #000000 at 18.79:1 contrast (WCAG AA passes).
Color values
| HEX | #FAF87D |
|---|---|
| RGB | rgb(250, 248, 125) |
| HSL | hsl(59, 93%, 74%) |
| HSV | hsv(59, 50%, 98%) |
| CMYK | cmyk(0%, 0.8%, 50%, 2%) |
| CIE-LAB | lab(95.56, -15.35, 58.64) |
| CIE-LCH | lch(95.56, 60.62, 104.67°) |
| OKLab | oklab(95.64% -0.0449 0.1382) |
| OKLCH | oklch(95.64% 0.145 108) |
| XYZ | xyz(76.6953, 88.9414, 32.5254) |
| Luminance | 0.8894 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 0.89
Straw
#FCF679
ΔE00 1.07
Manilla
#FFFA86
ΔE00 1.21
Butter
#FFFF81
ΔE00 1.43
Pale Yellow
#FFFF84
ΔE00 1.44
Custard
#FFFD78
ΔE00 1.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FAF87D #7D7FFA
analogous
#FAB97D #FAF87D #BDFA7D
triadic
#FAF87D #7DFAF8 #F87DFA
tetradic
#FAF87D #7DFAB9 #7D7FFA #FA7DBD
square
#FAF87D #7DFAB9 #7D7FFA #FA7DBD
split-complementary
#FAF87D #7DBDFA #B97DFA
monochromatic
#F3F009 #F8F542 #FAF87D #FCFBB8 #FEFDE2
Accessibility & contrast
On white
1.12
#FAF87D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.79
#FAF87D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FAF87D
18.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FAF87D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FAF87D | 1.00 | 1.12 | 18.79 | 18.79 |
| #FFFFFF | 1.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF072
Deuteranopia (green-blind)
#FFF483
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F2F2F2
Design tokens & code
CSS
--color: #faf87d; /* rgb */ color: rgb(250, 248, 125); /* oklch */ color: oklch(95.6% 0.145 108.0);
Tailwind
colors: {
custom: {
50: '#fefaa6',
500: '#faf87d',
950: '#000000',
},
}SCSS
$custom: #faf87d; $custom-light: #fefaa6; $custom-dark: #000000;
JSON
{
"hex": "#faf87d",
"rgb": {
"r": 250,
"g": 248,
"b": 125
},
"hsl": {
"h": 59.04,
"s": 92.593,
"l": 73.529
},
"oklch": {
"l": 0.95636,
"c": 0.14531,
"h": 108
},
"luminance": 0.88939
}Semantic roles & 50–950 ramp
primary
#FAF87D
secondary
#4446D7
accent
#04E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580