#FAF06F#FAF06F
#FAF06F is a very light, vivid yellow. Relative luminance 0.838; OKLCH L 93.8% C 0.150 H 104.8°. Best body text is #000000 at 17.76:1 contrast (WCAG AA passes).
Color values
| HEX | #FAF06F |
|---|---|
| RGB | rgb(250, 240, 111) |
| HSL | hsl(56, 93%, 71%) |
| HSV | hsv(56, 56%, 98%) |
| CMYK | cmyk(0%, 4%, 55.6%, 2%) |
| CIE-LAB | lab(93.36, -12.54, 62.38) |
| CIE-LCH | lch(93.36, 63.62, 101.37°) |
| OKLab | oklab(93.84% -0.0384 0.1448) |
| OKLCH | oklch(93.84% 0.15 104.8) |
| XYZ | xyz(73.4560, 83.7943, 27.3404) |
| Luminance | 0.8379 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 1.03
Sandy Yellow
#FDEE73
ΔE00 1.40
Straw
#FCF679
ΔE00 1.62
Manilla
#FFFA86
ΔE00 2.93
Custard
#FFFD78
ΔE00 3.05
Butter Yellow
#FFFD74
ΔE00 3.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FAF06F #6F79FA
analogous
#FAAA6F #FAF06F #BFFA6F
triadic
#FAF06F #6FFAF0 #F06FFA
tetradic
#FAF06F #6FFAAA #6F79FA #FA6FBF
square
#FAF06F #6FFAAA #6F79FA #FA6FBF
split-complementary
#FAF06F #6FBFFA #AA6FFA
monochromatic
#E7D708 #F8EA34 #FAF06F #FCF6AA #FEFCE1
Accessibility & contrast
On white
1.18
#FAF06F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.76
#FAF06F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FAF06F
17.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FAF06F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FAF06F | 1.00 | 1.18 | 17.76 | 17.76 |
| #FFFFFF | 1.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE862
Deuteranopia (green-blind)
#FFEF76
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #faf06f; /* rgb */ color: rgb(250, 240, 111); /* oklch */ color: oklch(93.8% 0.150 104.8);
Tailwind
colors: {
custom: {
50: '#fff49c',
500: '#faf06f',
950: '#000000',
},
}SCSS
$custom: #faf06f; $custom-light: #fff49c; $custom-dark: #000000;
JSON
{
"hex": "#faf06f",
"rgb": {
"r": 250,
"g": 240,
"b": 111
},
"hsl": {
"h": 55.683,
"s": 93.289,
"l": 70.784
},
"oklch": {
"l": 0.93844,
"c": 0.14983,
"h": 104.8
},
"luminance": 0.83792
}Semantic roles & 50–950 ramp
primary
#FAF06F
secondary
#3843D5
accent
#11E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F