#F8F77A#F8F77A
#F8F77A is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.2% C 0.147 H 108.5°. Best body text is #000000 at 18.58:1 contrast (WCAG AA passes).
Color values
| HEX | #F8F77A |
|---|---|
| RGB | rgb(248, 247, 122) |
| HSL | hsl(60, 90%, 73%) |
| HSV | hsv(60, 51%, 97%) |
| CMYK | cmyk(0%, 0.4%, 50.8%, 2.7%) |
| CIE-LAB | lab(95.11, -15.90, 59.44) |
| CIE-LCH | lch(95.11, 61.53, 104.97°) |
| OKLab | oklab(95.24% -0.0467 0.1397) |
| OKLCH | oklch(95.24% 0.147 108.5) |
| XYZ | xyz(75.4869, 87.8850, 31.3956) |
| Luminance | 0.8788 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 1.08
Straw
#FCF679
ΔE00 1.20
Custard
#FFFD78
ΔE00 1.54
Light Yellow
#FFFE7A
ΔE00 1.58
Butter
#FFFF81
ΔE00 1.60
Manilla
#FFFA86
ΔE00 1.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8F77A #7A7BF8
analogous
#F8B87A #F8F77A #BAF87A
triadic
#F8F77A #7AF8F7 #F77AF8
tetradic
#F8F77A #7AF8B8 #7A7BF8 #F87ABA
square
#F8F77A #7AF8B8 #7A7BF8 #F87ABA
split-complementary
#F8F77A #7ABAF8 #B87AF8
monochromatic
#EBE90C #F5F440 #F8F77A #FBFAB4 #FDFDE2
Accessibility & contrast
On white
1.13
#F8F77A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.58
#F8F77A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8F77A
18.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8F77A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8F77A | 1.00 | 1.13 | 18.58 | 18.58 |
| #FFFFFF | 1.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEE6E
Deuteranopia (green-blind)
#FFF380
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F1F1F1
Design tokens & code
CSS
--color: #f8f77a; /* rgb */ color: rgb(248, 247, 122); /* oklch */ color: oklch(95.2% 0.147 108.5);
Tailwind
colors: {
custom: {
50: '#fdf9a4',
500: '#f8f77a',
950: '#000000',
},
}SCSS
$custom: #f8f77a; $custom-light: #fdf9a4; $custom-dark: #000000;
JSON
{
"hex": "#f8f77a",
"rgb": {
"r": 248,
"g": 247,
"b": 122
},
"hsl": {
"h": 59.524,
"s": 90,
"l": 72.549
},
"oklch": {
"l": 0.95235,
"c": 0.14728,
"h": 108.5
},
"luminance": 0.87883
}Semantic roles & 50–950 ramp
primary
#F8F77A
secondary
#4243D4
accent
#02E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580