#F8F77B#F8F77B
#F8F77B is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.2% C 0.146 H 108.5°. Best body text is #000000 at 18.58:1 contrast (WCAG AA passes).
Color values
| HEX | #F8F77B |
|---|---|
| RGB | rgb(248, 247, 123) |
| HSL | hsl(60, 90%, 73%) |
| HSV | hsv(60, 50%, 97%) |
| CMYK | cmyk(0%, 0.4%, 50.4%, 2.7%) |
| CIE-LAB | lab(95.12, -15.82, 59.00) |
| CIE-LCH | lch(95.12, 61.09, 105.01°) |
| OKLab | oklab(95.25% -0.0464 0.1388) |
| OKLCH | oklch(95.25% 0.146 108.5) |
| XYZ | xyz(75.5491, 87.9099, 31.7236) |
| Luminance | 0.8791 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 1.04
Straw
#FCF679
ΔE00 1.23
Manilla
#FFFA86
ΔE00 1.53
Butter
#FFFF81
ΔE00 1.60
Custard
#FFFD78
ΔE00 1.61
Pale Yellow
#FFFF84
ΔE00 1.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8F77B #7B7CF8
analogous
#F8B87B #F8F77B #BAF87B
triadic
#F8F77B #7BF8F7 #F77BF8
tetradic
#F8F77B #7BF8B8 #7B7CF8 #F87BBA
square
#F8F77B #7BF8B8 #7B7CF8 #F87BBA
split-complementary
#F8F77B #7BBAF8 #B87BF8
monochromatic
#ECEA0D #F5F341 #F8F77B #FBFBB5 #FDFDE2
Accessibility & contrast
On white
1.13
#F8F77B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.58
#F8F77B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8F77B
18.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8F77B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8F77B | 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)
#FFEE6F
Deuteranopia (green-blind)
#FFF381
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F1F1F1
Design tokens & code
CSS
--color: #f8f77b; /* rgb */ color: rgb(248, 247, 123); /* oklch */ color: oklch(95.2% 0.146 108.5);
Tailwind
colors: {
custom: {
50: '#fdf9a4',
500: '#f8f77b',
950: '#000000',
},
}SCSS
$custom: #f8f77b; $custom-light: #fdf9a4; $custom-dark: #000000;
JSON
{
"hex": "#f8f77b",
"rgb": {
"r": 248,
"g": 247,
"b": 123
},
"hsl": {
"h": 59.52,
"s": 89.928,
"l": 72.745
},
"oklch": {
"l": 0.95247,
"c": 0.14636,
"h": 108.5
},
"luminance": 0.87908
}Semantic roles & 50–950 ramp
primary
#F8F77B
secondary
#4344D4
accent
#02E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580