#FAF86C#FAF86C
#FAF86C is a very light, vivid yellow. Relative luminance 0.885; OKLCH L 95.4% C 0.160 H 108.3°. Best body text is #000000 at 18.71:1 contrast (WCAG AA passes).
Color values
| HEX | #FAF86C |
|---|---|
| RGB | rgb(250, 248, 108) |
| HSL | hsl(59, 93%, 70%) |
| HSV | hsv(59, 57%, 98%) |
| CMYK | cmyk(0%, 0.8%, 56.8%, 2%) |
| CIE-LAB | lab(95.39, -16.65, 65.96) |
| CIE-LCH | lch(95.39, 68.03, 104.17°) |
| OKLab | oklab(95.45% -0.0504 0.1522) |
| OKLCH | oklch(95.45% 0.16 108.3) |
| XYZ | xyz(75.7007, 88.5436, 27.2874) |
| Luminance | 0.8854 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Butter Yellow
#FFFD74
ΔE00 1.09
Pastel Yellow
#FFFE71
ΔE00 1.20
Custard
#FFFD78
ΔE00 1.32
Light Yellow
#FFFE7A
ΔE00 1.58
Straw
#FCF679
ΔE00 1.79
Banana (survey)
#FFFF7E
ΔE00 2.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FAF86C #6C6EFA
analogous
#FAB16C #FAF86C #B5FA6C
triadic
#FAF86C #6CFAF8 #F86CFA
tetradic
#FAF86C #6CFAB1 #6C6EFA #FA6CB5
square
#FAF86C #6CFAB1 #6C6EFA #FA6CB5
split-complementary
#FAF86C #6CB5FA #B16CFA
monochromatic
#E4E108 #F8F531 #FAF86C #FCFBA7 #FEFEE1
Accessibility & contrast
On white
1.12
#FAF86C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.71
#FAF86C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FAF86C
18.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FAF86C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FAF86C | 1.00 | 1.12 | 18.71 | 18.71 |
| #FFFFFF | 1.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF5D
Deuteranopia (green-blind)
#FFF474
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F2F2F2
Design tokens & code
CSS
--color: #faf86c; /* rgb */ color: rgb(250, 248, 108); /* oklch */ color: oklch(95.4% 0.160 108.3);
Tailwind
colors: {
custom: {
50: '#fffa9b',
500: '#faf86c',
950: '#000000',
},
}SCSS
$custom: #faf86c; $custom-light: #fffa9b; $custom-dark: #000000;
JSON
{
"hex": "#faf86c",
"rgb": {
"r": 250,
"g": 248,
"b": 108
},
"hsl": {
"h": 59.155,
"s": 93.421,
"l": 70.196
},
"oklch": {
"l": 0.95449,
"c": 0.16028,
"h": 108.3
},
"luminance": 0.88542
}Semantic roles & 50–950 ramp
primary
#FAF86C
secondary
#3538D5
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F