#F8F361#F8F361
#F8F361 is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.2% C 0.164 H 107.3°. Best body text is #000000 at 17.98:1 contrast (WCAG AA passes).
Color values
| HEX | #F8F361 |
|---|---|
| RGB | rgb(248, 243, 97) |
| HSL | hsl(58, 92%, 68%) |
| HSV | hsv(58, 61%, 97%) |
| CMYK | cmyk(0%, 2%, 60.9%, 2.7%) |
| CIE-LAB | lab(93.85, -15.76, 68.82) |
| CIE-LCH | lch(93.85, 70.60, 102.90°) |
| OKLab | oklab(94.16% -0.0489 0.1569) |
| OKLCH | oklch(94.16% 0.164 107.3) |
| XYZ | xyz(72.9221, 84.9230, 23.8574) |
| Luminance | 0.8492 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 1.98
Butter Yellow
#FFFD74
ΔE00 2.39
Straw
#FCF679
ΔE00 2.40
Pastel Yellow
#FFFE71
ΔE00 2.44
Custard
#FFFD78
ΔE00 2.64
Canary
#FDFF63
ΔE00 2.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8F361 #6166F8
analogous
#F8A761 #F8F361 #B2F861
triadic
#F8F361 #61F8F3 #F361F8
tetradic
#F8F361 #61F8A7 #6166F8 #F861B2
square
#F8F361 #61F8A7 #6166F8 #F861B2
split-complementary
#F8F361 #61B2F8 #A761F8
monochromatic
#D5CE09 #F5EF26 #F8F361 #FBF79C #FDFCD6
Accessibility & contrast
On white
1.17
#F8F361 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.98
#F8F361 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8F361
17.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8F361 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8F361 | 1.00 | 1.17 | 17.98 | 17.98 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA4F
Deuteranopia (green-blind)
#FFF06A
Tritanopia (blue-blind)
#FFE4D4
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #f8f361; /* rgb */ color: rgb(248, 243, 97); /* oklch */ color: oklch(94.2% 0.164 107.3);
Tailwind
colors: {
custom: {
50: '#fef694',
500: '#f8f361',
950: '#000000',
},
}SCSS
$custom: #f8f361; $custom-light: #fef694; $custom-dark: #000000;
JSON
{
"hex": "#f8f361",
"rgb": {
"r": 248,
"g": 243,
"b": 97
},
"hsl": {
"h": 58.013,
"s": 91.515,
"l": 67.647
},
"oklch": {
"l": 0.94155,
"c": 0.16432,
"h": 107.3
},
"luminance": 0.84921
}Semantic roles & 50–950 ramp
primary
#F8F361
secondary
#2D33D0
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F