#FAF962#FAF962
#FAF962 is a very light, vivid yellow. Relative luminance 0.890; OKLCH L 95.6% C 0.169 H 108.9°. Best body text is #000000 at 18.79:1 contrast (WCAG AA passes).
Color values
| HEX | #FAF962 |
|---|---|
| RGB | rgb(250, 249, 98) |
| HSL | hsl(60, 94%, 68%) |
| HSV | hsv(60, 61%, 98%) |
| CMYK | cmyk(0%, 0.4%, 60.8%, 2%) |
| CIE-LAB | lab(95.56, -17.80, 70.30) |
| CIE-LCH | lch(95.56, 72.52, 104.21°) |
| OKLab | oklab(95.56% -0.0547 0.1601) |
| OKLCH | oklch(95.56% 0.169 108.9) |
| XYZ | xyz(75.5070, 88.9593, 24.7463) |
| Luminance | 0.8896 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Canary
#FDFF63
ΔE00 1.31
Pastel Yellow
#FFFE71
ΔE00 1.48
Butter Yellow
#FFFD74
ΔE00 1.70
Custard
#FFFD78
ΔE00 2.09
Lemon (survey)
#FDFF52
ΔE00 2.12
Light Yellow
#FFFE7A
ΔE00 2.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FAF962 #6263FA
analogous
#FAAD62 #FAF962 #AFFA62
triadic
#FAF962 #62FAF9 #F962FA
tetradic
#FAF962 #62FAAD #6263FA #FA62AF
square
#FAF962 #62FAAD #6263FA #FA62AF
split-complementary
#FAF962 #62AFFA #AD62FA
monochromatic
#DBD907 #F8F727 #FAF962 #FCFB9D #FEFED9
Accessibility & contrast
On white
1.12
#FAF962 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.79
#FAF962 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FAF962
18.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FAF962 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FAF962 | 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)
#FFEF4F
Deuteranopia (green-blind)
#FFF56B
Tritanopia (blue-blind)
#FFEAD9
Achromatopsia (no color)
#F2F2F2
Design tokens & code
CSS
--color: #faf962; /* rgb */ color: rgb(250, 249, 98); /* oklch */ color: oklch(95.6% 0.169 108.9);
Tailwind
colors: {
custom: {
50: '#fffb95',
500: '#faf962',
950: '#000000',
},
}SCSS
$custom: #faf962; $custom-light: #fffb95; $custom-dark: #000000;
JSON
{
"hex": "#faf962",
"rgb": {
"r": 250,
"g": 249,
"b": 98
},
"hsl": {
"h": 59.605,
"s": 93.827,
"l": 68.235
},
"oklch": {
"l": 0.95561,
"c": 0.16917,
"h": 108.9
},
"luminance": 0.88957
}Semantic roles & 50–950 ramp
primary
#FAF962
secondary
#2D2ED3
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F