#F8F461#F8F461
#F8F461 is a very light, vivid yellow. Relative luminance 0.855; OKLCH L 94.4% C 0.165 H 107.7°. Best body text is #000000 at 18.10:1 contrast (WCAG AA passes).
Color values
| HEX | #F8F461 |
|---|---|
| RGB | rgb(248, 244, 97) |
| HSL | hsl(58, 92%, 68%) |
| HSV | hsv(58, 61%, 97%) |
| CMYK | cmyk(0%, 1.6%, 60.9%, 2.7%) |
| CIE-LAB | lab(94.11, -16.25, 69.10) |
| CIE-LCH | lch(94.11, 70.98, 103.23°) |
| OKLab | oklab(94.36% -0.0503 0.1575) |
| OKLCH | oklch(94.36% 0.165 107.7) |
| XYZ | xyz(73.2221, 85.5231, 23.9575) |
| Luminance | 0.8552 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Butter Yellow
#FFFD74
ΔE00 2.22
Pastel Yellow
#FFFE71
ΔE00 2.23
Yellowish
#FAEE66
ΔE00 2.26
Straw
#FCF679
ΔE00 2.44
Canary
#FDFF63
ΔE00 2.46
Custard
#FFFD78
ΔE00 2.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8F461 #6165F8
analogous
#F8A961 #F8F461 #B0F861
triadic
#F8F461 #61F8F4 #F461F8
tetradic
#F8F461 #61F8A9 #6165F8 #F861B0
square
#F8F461 #61F8A9 #6165F8 #F861B0
split-complementary
#F8F461 #61B0F8 #A961F8
monochromatic
#D5D009 #F5F026 #F8F461 #FBF89C #FDFCD6
Accessibility & contrast
On white
1.16
#F8F461 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.10
#F8F461 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8F461
18.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8F461 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8F461 | 1.00 | 1.16 | 18.10 | 18.10 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB4F
Deuteranopia (green-blind)
#FFF16A
Tritanopia (blue-blind)
#FFE5D5
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #f8f461; /* rgb */ color: rgb(248, 244, 97); /* oklch */ color: oklch(94.4% 0.165 107.7);
Tailwind
colors: {
custom: {
50: '#fef794',
500: '#f8f461',
950: '#000000',
},
}SCSS
$custom: #f8f461; $custom-light: #fef794; $custom-dark: #000000;
JSON
{
"hex": "#f8f461",
"rgb": {
"r": 248,
"g": 244,
"b": 97
},
"hsl": {
"h": 58.411,
"s": 91.515,
"l": 67.647
},
"oklch": {
"l": 0.9436,
"c": 0.1653,
"h": 107.7
},
"luminance": 0.85521
}Semantic roles & 50–950 ramp
primary
#F8F461
secondary
#2D32D0
accent
#06E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F