#F8F395#F8F395
#F8F395 is a very light, moderate yellow. Relative luminance 0.862; OKLCH L 94.8% C 0.116 H 105.8°. Best body text is #000000 at 18.25:1 contrast (WCAG AA passes).
Color values
| HEX | #F8F395 |
|---|---|
| RGB | rgb(248, 243, 149) |
| HSL | hsl(57, 88%, 78%) |
| HSV | hsv(57, 40%, 97%) |
| CMYK | cmyk(0%, 2%, 39.9%, 2.7%) |
| CIE-LAB | lab(94.41, -11.44, 45.87) |
| CIE-LCH | lch(94.41, 47.28, 104.01°) |
| OKLab | oklab(94.78% -0.0315 0.1116) |
| OKLCH | oklch(94.78% 0.116 105.8) |
| XYZ | xyz(76.1881, 86.2294, 41.0585) |
| Luminance | 0.8623 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Buff
#FEF69E
ΔE00 1.45
Dark Cream
#FFF39A
ΔE00 2.02
Khaki (CSS)
#F0E68C
ΔE00 2.91
Manilla
#FFFA86
ΔE00 3.29
Parchment
#FEFCAF
ΔE00 3.60
Yellowish Tan
#FCFC81
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8F395 #959AF8
analogous
#F8C295 #F8F395 #CBF895
triadic
#F8F395 #95F8F3 #F395F8
tetradic
#F8F395 #95F8C2 #959AF8 #F895CB
square
#F8F395 #95F8C2 #959AF8 #F895CB
split-complementary
#F8F395 #95CBF8 #C295F8
monochromatic
#F0E622 #F4ED5C #F8F395 #FCF9CE #FDFCE2
Accessibility & contrast
On white
1.15
#F8F395 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.25
#F8F395 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8F395
18.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8F395 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8F395 | 1.00 | 1.15 | 18.25 | 18.25 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC8E
Deuteranopia (green-blind)
#FFF199
Tritanopia (blue-blind)
#FFE8DC
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #f8f395; /* rgb */ color: rgb(248, 243, 149); /* oklch */ color: oklch(94.8% 0.116 105.8);
Tailwind
colors: {
custom: {
50: '#fcf6b5',
500: '#f8f395',
950: '#000000',
},
}SCSS
$custom: #f8f395; $custom-light: #fcf6b5; $custom-dark: #000000;
JSON
{
"hex": "#f8f395",
"rgb": {
"r": 248,
"g": 243,
"b": 149
},
"hsl": {
"h": 56.97,
"s": 87.611,
"l": 77.843
},
"oklch": {
"l": 0.94782,
"c": 0.11591,
"h": 105.8
},
"luminance": 0.86228
}Semantic roles & 50–950 ramp
primary
#F8F395
secondary
#5A60D7
accent
#0DE401
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581