#F8F792#F8F792
#F8F792 is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.5% C 0.124 H 108.0°. Best body text is #000000 at 18.71:1 contrast (WCAG AA passes).
Color values
| HEX | #F8F792 |
|---|---|
| RGB | rgb(248, 247, 146) |
| HSL | hsl(59, 88%, 77%) |
| HSV | hsv(59, 41%, 97%) |
| CMYK | cmyk(0%, 0.4%, 41.1%, 2.7%) |
| CIE-LAB | lab(95.39, -13.71, 48.56) |
| CIE-LCH | lch(95.39, 50.46, 105.77°) |
| OKLab | oklab(95.55% -0.0382 0.1175) |
| OKLCH | oklch(95.55% 0.124 108) |
| XYZ | xyz(77.1617, 88.5550, 40.2166) |
| Luminance | 0.8855 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Manilla
#FFFA86
ΔE00 2.45
Buff
#FEF69E
ΔE00 2.58
Yellowish Tan
#FCFC81
ΔE00 2.99
Pale Yellow
#FFFF84
ΔE00 3.19
Dark Cream
#FFF39A
ΔE00 3.31
Butter
#FFFF81
ΔE00 3.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8F792 #9293F8
analogous
#F8C492 #F8F792 #C6F892
triadic
#F8F792 #92F8F7 #F792F8
tetradic
#F8F792 #92F8C4 #9293F8 #F892C6
square
#F8F792 #92F8C4 #9293F8 #F892C6
split-complementary
#F8F792 #92C6F8 #C492F8
monochromatic
#F1EF1F #F4F358 #F8F792 #FCFBCC #FDFDE2
Accessibility & contrast
On white
1.12
#F8F792 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.71
#F8F792 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8F792
18.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8F792 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8F792 | 1.00 | 1.12 | 18.71 | 18.71 |
| #FFFFFF | 1.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF08A
Deuteranopia (green-blind)
#FFF497
Tritanopia (blue-blind)
#FFEBDF
Achromatopsia (no color)
#F2F2F2
Design tokens & code
CSS
--color: #f8f792; /* rgb */ color: rgb(248, 247, 146); /* oklch */ color: oklch(95.5% 0.124 108.0);
Tailwind
colors: {
custom: {
50: '#fcf9b3',
500: '#f8f792',
950: '#000000',
},
}SCSS
$custom: #f8f792; $custom-light: #fcf9b3; $custom-dark: #000000;
JSON
{
"hex": "#f8f792",
"rgb": {
"r": 248,
"g": 247,
"b": 146
},
"hsl": {
"h": 59.412,
"s": 87.931,
"l": 77.255
},
"oklch": {
"l": 0.9555,
"c": 0.12352,
"h": 108
},
"luminance": 0.88553
}Semantic roles & 50–950 ramp
primary
#F8F792
secondary
#5758D7
accent
#03E501
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581