#FAF57D#FAF57D
#FAF57D is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 95.0% C 0.142 H 106.7°. Best body text is #000000 at 18.42:1 contrast (WCAG AA passes).
Color values
| HEX | #FAF57D |
|---|---|
| RGB | rgb(250, 245, 125) |
| HSL | hsl(58, 93%, 74%) |
| HSV | hsv(58, 50%, 98%) |
| CMYK | cmyk(0%, 2%, 50%, 2%) |
| CIE-LAB | lab(94.79, -13.89, 57.73) |
| CIE-LCH | lch(94.79, 59.38, 103.53°) |
| OKLab | oklab(95.02% -0.0408 0.1362) |
| OKLCH | oklch(95.02% 0.142 106.7) |
| XYZ | xyz(75.7803, 87.1116, 32.2204) |
| Luminance | 0.8711 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 0.71
Manilla
#FFFA86
ΔE00 1.19
Yellowish Tan
#FCFC81
ΔE00 1.72
Custard
#FFFD78
ΔE00 2.12
Pale Yellow
#FFFF84
ΔE00 2.19
Butter
#FFFF81
ΔE00 2.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FAF57D #7D82FA
analogous
#FAB67D #FAF57D #C0FA7D
triadic
#FAF57D #7DFAF5 #F57DFA
tetradic
#FAF57D #7DFAB6 #7D82FA #FA7DC0
square
#FAF57D #7DFAB6 #7D82FA #FA7DC0
split-complementary
#FAF57D #7DC0FA #B67DFA
monochromatic
#F3EA09 #F8F042 #FAF57D #FCFAB8 #FEFDE2
Accessibility & contrast
On white
1.14
#FAF57D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.42
#FAF57D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FAF57D
18.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FAF57D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FAF57D | 1.00 | 1.14 | 18.42 | 18.42 |
| #FFFFFF | 1.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFED72
Deuteranopia (green-blind)
#FFF283
Tritanopia (blue-blind)
#FFE8DA
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #faf57d; /* rgb */ color: rgb(250, 245, 125); /* oklch */ color: oklch(95.0% 0.142 106.7);
Tailwind
colors: {
custom: {
50: '#fef8a5',
500: '#faf57d',
950: '#000000',
},
}SCSS
$custom: #faf57d; $custom-light: #fef8a5; $custom-dark: #000000;
JSON
{
"hex": "#faf57d",
"rgb": {
"r": 250,
"g": 245,
"b": 125
},
"hsl": {
"h": 57.6,
"s": 92.593,
"l": 73.529
},
"oklch": {
"l": 0.95023,
"c": 0.14218,
"h": 106.7
},
"luminance": 0.87109
}Semantic roles & 50–950 ramp
primary
#FAF57D
secondary
#444AD7
accent
#09E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580