#F8F071#F8F071
#F8F071 is a very light, vivid yellow. Relative luminance 0.835; OKLCH L 93.7% C 0.148 H 105.6°. Best body text is #000000 at 17.69:1 contrast (WCAG AA passes).
Color values
| HEX | #F8F071 |
|---|---|
| RGB | rgb(248, 240, 113) |
| HSL | hsl(56, 91%, 71%) |
| HSV | hsv(56, 54%, 97%) |
| CMYK | cmyk(0%, 3.2%, 54.4%, 2.7%) |
| CIE-LAB | lab(93.22, -13.19, 61.29) |
| CIE-LCH | lch(93.22, 62.69, 102.14°) |
| OKLab | oklab(93.7% -0.0399 0.1428) |
| OKLCH | oklch(93.7% 0.148 105.6) |
| XYZ | xyz(72.8543, 83.4712, 27.8934) |
| Luminance | 0.8347 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.33
Yellowish
#FAEE66
ΔE00 1.51
Sandy Yellow
#FDEE73
ΔE00 1.78
Manilla
#FFFA86
ΔE00 2.64
Custard
#FFFD78
ΔE00 2.85
Butter Yellow
#FFFD74
ΔE00 2.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8F071 #7179F8
analogous
#F8AC71 #F8F071 #BDF871
triadic
#F8F071 #71F8F0 #F071F8
tetradic
#F8F071 #71F8AC #7179F8 #F871BD
square
#F8F071 #71F8AC #7179F8 #F871BD
split-complementary
#F8F071 #71BDF8 #AC71F8
monochromatic
#E3D70B #F5EA37 #F8F071 #FBF6AB #FEFCE2
Accessibility & contrast
On white
1.19
#F8F071 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.69
#F8F071 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8F071
17.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8F071 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8F071 | 1.00 | 1.19 | 17.69 | 17.69 |
| #FFFFFF | 1.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE864
Deuteranopia (green-blind)
#FFEE78
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #f8f071; /* rgb */ color: rgb(248, 240, 113); /* oklch */ color: oklch(93.7% 0.148 105.6);
Tailwind
colors: {
custom: {
50: '#fdf49d',
500: '#f8f071',
950: '#000000',
},
}SCSS
$custom: #f8f071; $custom-light: #fdf49d; $custom-dark: #000000;
JSON
{
"hex": "#f8f071",
"rgb": {
"r": 248,
"g": 240,
"b": 113
},
"hsl": {
"h": 56.444,
"s": 90.604,
"l": 70.784
},
"oklch": {
"l": 0.93699,
"c": 0.14823,
"h": 105.6
},
"luminance": 0.83469
}Semantic roles & 50–950 ramp
primary
#F8F071
secondary
#3A43D3
accent
#0EE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580