#F8F281#F8F281
#F8F281 is a very light, vivid yellow. Relative luminance 0.850; OKLCH L 94.3% C 0.135 H 106.0°. Best body text is #000000 at 18.01:1 contrast (WCAG AA passes).
Color values
| HEX | #F8F281 |
|---|---|
| RGB | rgb(248, 242, 129) |
| HSL | hsl(57, 89%, 74%) |
| HSV | hsv(57, 48%, 97%) |
| CMYK | cmyk(0%, 2.4%, 48%, 2.7%) |
| CIE-LAB | lab(93.90, -12.86, 54.79) |
| CIE-LCH | lch(93.90, 56.28, 103.21°) |
| OKLab | oklab(94.3% -0.0373 0.1301) |
| OKLCH | oklch(94.3% 0.135 106) |
| XYZ | xyz(74.4278, 85.0477, 33.2598) |
| Luminance | 0.8505 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Manilla
#FFFA86
ΔE00 1.64
Straw
#FCF679
ΔE00 1.65
Yellowish Tan
#FCFC81
ΔE00 2.49
Sandy Yellow
#FDEE73
ΔE00 2.74
Pale Yellow
#FFFF84
ΔE00 2.95
Butter
#FFFF81
ΔE00 3.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8F281 #8187F8
analogous
#F8B781 #F8F281 #C3F881
triadic
#F8F281 #81F8F2 #F281F8
tetradic
#F8F281 #81F8B7 #8187F8 #F881C3
square
#F8F281 #81F8B7 #8187F8 #F881C3
split-complementary
#F8F281 #81C3F8 #B781F8
monochromatic
#F1E60D #F5EC47 #F8F281 #FBF8BB #FDFCE2
Accessibility & contrast
On white
1.17
#F8F281 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.01
#F8F281 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8F281
18.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8F281 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8F281 | 1.00 | 1.17 | 18.01 | 18.01 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB77
Deuteranopia (green-blind)
#FFF086
Tritanopia (blue-blind)
#FFE5D8
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #f8f281; /* rgb */ color: rgb(248, 242, 129); /* oklch */ color: oklch(94.3% 0.135 106.0);
Tailwind
colors: {
custom: {
50: '#fdf6a8',
500: '#f8f281',
950: '#000000',
},
}SCSS
$custom: #f8f281; $custom-light: #fdf6a8; $custom-dark: #000000;
JSON
{
"hex": "#f8f281",
"rgb": {
"r": 248,
"g": 242,
"b": 129
},
"hsl": {
"h": 56.975,
"s": 89.474,
"l": 73.922
},
"oklch": {
"l": 0.94298,
"c": 0.1354,
"h": 106
},
"luminance": 0.85046
}Semantic roles & 50–950 ramp
primary
#F8F281
secondary
#484FD5
accent
#0CE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581