#FAF57B#FAF57B
#FAF57B is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 95.0% C 0.144 H 106.7°. Best body text is #000000 at 18.41:1 contrast (WCAG AA passes).
Color values
| HEX | #FAF57B |
|---|---|
| RGB | rgb(250, 245, 123) |
| HSL | hsl(58, 93%, 73%) |
| HSV | hsv(58, 51%, 98%) |
| CMYK | cmyk(0%, 2%, 50.8%, 2%) |
| CIE-LAB | lab(94.76, -14.05, 58.62) |
| CIE-LCH | lch(94.76, 60.28, 103.48°) |
| OKLab | oklab(95% -0.0414 0.138) |
| OKLCH | oklch(95% 0.144 106.7) |
| XYZ | xyz(75.6539, 87.0610, 31.5543) |
| Luminance | 0.8706 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 0.50
Manilla
#FFFA86
ΔE00 1.33
Yellowish Tan
#FCFC81
ΔE00 1.73
Custard
#FFFD78
ΔE00 1.98
Light Yellow
#FFFE7A
ΔE00 2.12
Butter
#FFFF81
ΔE00 2.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FAF57B #7B80FA
analogous
#FAB57B #FAF57B #BFFA7B
triadic
#FAF57B #7BFAF5 #F57BFA
tetradic
#FAF57B #7BFAB5 #7B80FA #FA7BBF
square
#FAF57B #7BFAB5 #7B80FA #FA7BBF
split-complementary
#FAF57B #7BBFFA #B57BFA
monochromatic
#F1E809 #F8F140 #FAF57B #FCF9B6 #FEFDE2
Accessibility & contrast
On white
1.14
#FAF57B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.41
#FAF57B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FAF57B
18.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FAF57B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FAF57B | 1.00 | 1.14 | 18.41 | 18.41 |
| #FFFFFF | 1.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFED70
Deuteranopia (green-blind)
#FFF281
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #faf57b; /* rgb */ color: rgb(250, 245, 123); /* oklch */ color: oklch(95.0% 0.144 106.7);
Tailwind
colors: {
custom: {
50: '#fef8a4',
500: '#faf57b',
950: '#000000',
},
}SCSS
$custom: #faf57b; $custom-light: #fef8a4; $custom-dark: #000000;
JSON
{
"hex": "#faf57b",
"rgb": {
"r": 250,
"g": 245,
"b": 123
},
"hsl": {
"h": 57.638,
"s": 92.701,
"l": 73.137
},
"oklch": {
"l": 0.94999,
"c": 0.14405,
"h": 106.7
},
"luminance": 0.87059
}Semantic roles & 50–950 ramp
primary
#FAF57B
secondary
#4248D7
accent
#09E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580