#FAF968#FAF968
#FAF968 is a very light, vivid yellow. Relative luminance 0.891; OKLCH L 95.6% C 0.165 H 108.8°. Best body text is #000000 at 18.82:1 contrast (WCAG AA passes).
Color values
| HEX | #FAF968 |
|---|---|
| RGB | rgb(250, 249, 104) |
| HSL | hsl(60, 94%, 69%) |
| HSV | hsv(60, 58%, 98%) |
| CMYK | cmyk(0%, 0.4%, 58.4%, 2%) |
| CIE-LAB | lab(95.61, -17.41, 67.89) |
| CIE-LCH | lch(95.61, 70.09, 104.38°) |
| OKLab | oklab(95.62% -0.0529 0.1558) |
| OKLCH | oklch(95.62% 0.165 108.8) |
| XYZ | xyz(75.8010, 89.0769, 26.2946) |
| Luminance | 0.8908 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pastel Yellow
#FFFE71
ΔE00 1.13
Butter Yellow
#FFFD74
ΔE00 1.23
Canary
#FDFF63
ΔE00 1.54
Custard
#FFFD78
ΔE00 1.58
Light Yellow
#FFFE7A
ΔE00 1.80
Banana (survey)
#FFFF7E
ΔE00 2.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FAF968 #6869FA
analogous
#FAB068 #FAF968 #B2FA68
triadic
#FAF968 #68FAF9 #F968FA
tetradic
#FAF968 #68FAB0 #6869FA #FA68B2
square
#FAF968 #68FAB0 #6869FA #FA68B2
split-complementary
#FAF968 #68B2FA #B068FA
monochromatic
#E0DF07 #F8F72D #FAF968 #FCFBA3 #FEFEDE
Accessibility & contrast
On white
1.12
#FAF968 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.82
#FAF968 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FAF968
18.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FAF968 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FAF968 | 1.00 | 1.12 | 18.82 | 18.82 |
| #FFFFFF | 1.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF057
Deuteranopia (green-blind)
#FFF570
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F2F2F2
Design tokens & code
CSS
--color: #faf968; /* rgb */ color: rgb(250, 249, 104); /* oklch */ color: oklch(95.6% 0.165 108.8);
Tailwind
colors: {
custom: {
50: '#fffb98',
500: '#faf968',
950: '#000000',
},
}SCSS
$custom: #faf968; $custom-light: #fffb98; $custom-dark: #000000;
JSON
{
"hex": "#faf968",
"rgb": {
"r": 250,
"g": 249,
"b": 104
},
"hsl": {
"h": 59.589,
"s": 93.59,
"l": 69.412
},
"oklch": {
"l": 0.95616,
"c": 0.16452,
"h": 108.8
},
"luminance": 0.89075
}Semantic roles & 50–950 ramp
primary
#FAF968
secondary
#3233D4
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F