#F5F466#F5F466
#F5F466 is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 94.2% C 0.162 H 108.8°. Best body text is #000000 at 18.01:1 contrast (WCAG AA passes).
Color values
| HEX | #F5F466 |
|---|---|
| RGB | rgb(245, 244, 102) |
| HSL | hsl(60, 88%, 68%) |
| HSV | hsv(60, 58%, 96%) |
| CMYK | cmyk(0%, 0.4%, 58.4%, 3.9%) |
| CIE-LAB | lab(93.92, -17.12, 66.76) |
| CIE-LCH | lch(93.92, 68.92, 104.39°) |
| OKLab | oklab(94.16% -0.052 0.1532) |
| OKLCH | oklch(94.16% 0.162 108.8) |
| XYZ | xyz(72.4073, 85.0752, 25.1747) |
| Luminance | 0.8507 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Butter Yellow
#FFFD74
ΔE00 2.00
Pastel Yellow
#FFFE71
ΔE00 2.06
Straw
#FCF679
ΔE00 2.18
Custard
#FFFD78
ΔE00 2.18
Light Yellow
#FFFE7A
ΔE00 2.40
Canary
#FDFF63
ΔE00 2.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5F466 #6667F5
analogous
#F5AC66 #F5F466 #AFF566
triadic
#F5F466 #66F5F4 #F466F5
tetradic
#F5F466 #66F5AC #6667F5 #F566AF
square
#F5F466 #66F5AC #6667F5 #F566AF
split-complementary
#F5F466 #66AFF5 #AC66F5
monochromatic
#D3D10E #F1F02D #F5F466 #F9F89F #FDFCD9
Accessibility & contrast
On white
1.17
#F5F466 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.01
#F5F466 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5F466
18.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5F466 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5F466 | 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)
#FFEB56
Deuteranopia (green-blind)
#FFF06E
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #f5f466; /* rgb */ color: rgb(245, 244, 102); /* oklch */ color: oklch(94.2% 0.162 108.8);
Tailwind
colors: {
custom: {
50: '#fbf797',
500: '#f5f466',
950: '#000000',
},
}SCSS
$custom: #f5f466; $custom-light: #fbf797; $custom-dark: #000000;
JSON
{
"hex": "#f5f466",
"rgb": {
"r": 245,
"g": 244,
"b": 102
},
"hsl": {
"h": 59.58,
"s": 87.73,
"l": 68.039
},
"oklch": {
"l": 0.94163,
"c": 0.16182,
"h": 108.8
},
"luminance": 0.85073
}Semantic roles & 50–950 ramp
primary
#F5F466
secondary
#3132CE
accent
#03E401
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F