#FAF77D#FAF77D
#FAF77D is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.4% C 0.144 H 107.6°. Best body text is #000000 at 18.67:1 contrast (WCAG AA passes).
Color values
| HEX | #FAF77D |
|---|---|
| RGB | rgb(250, 247, 125) |
| HSL | hsl(59, 93%, 74%) |
| HSV | hsv(59, 50%, 98%) |
| CMYK | cmyk(0%, 1.2%, 50%, 2%) |
| CIE-LAB | lab(95.30, -14.86, 58.34) |
| CIE-LCH | lch(95.30, 60.20, 104.29°) |
| OKLab | oklab(95.43% -0.0436 0.1375) |
| OKLCH | oklch(95.43% 0.144 107.6) |
| XYZ | xyz(76.3887, 88.3282, 32.4232) |
| Luminance | 0.8833 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 0.86
Manilla
#FFFA86
ΔE00 1.13
Yellowish Tan
#FCFC81
ΔE00 1.15
Custard
#FFFD78
ΔE00 1.67
Pale Yellow
#FFFF84
ΔE00 1.67
Butter
#FFFF81
ΔE00 1.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FAF77D #7D80FA
analogous
#FAB87D #FAF77D #BEFA7D
triadic
#FAF77D #7DFAF7 #F77DFA
tetradic
#FAF77D #7DFAB8 #7D80FA #FA7DBE
square
#FAF77D #7DFAB8 #7D80FA #FA7DBE
split-complementary
#FAF77D #7DBEFA #B87DFA
monochromatic
#F3EE09 #F8F342 #FAF77D #FCFBB8 #FEFDE2
Accessibility & contrast
On white
1.13
#FAF77D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.67
#FAF77D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FAF77D
18.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FAF77D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FAF77D | 1.00 | 1.13 | 18.67 | 18.67 |
| #FFFFFF | 1.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF72
Deuteranopia (green-blind)
#FFF483
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F1F1F1
Design tokens & code
CSS
--color: #faf77d; /* rgb */ color: rgb(250, 247, 125); /* oklch */ color: oklch(95.4% 0.144 107.6);
Tailwind
colors: {
custom: {
50: '#fef9a5',
500: '#faf77d',
950: '#000000',
},
}SCSS
$custom: #faf77d; $custom-light: #fef9a5; $custom-dark: #000000;
JSON
{
"hex": "#faf77d",
"rgb": {
"r": 250,
"g": 247,
"b": 125
},
"hsl": {
"h": 58.56,
"s": 92.593,
"l": 73.529
},
"oklch": {
"l": 0.95431,
"c": 0.14426,
"h": 107.6
},
"luminance": 0.88326
}Semantic roles & 50–950 ramp
primary
#FAF77D
secondary
#4448D7
accent
#06E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580