#F5F76C#F5F76C
#F5F76C is a very light, vivid yellow. Relative luminance 0.870; OKLCH L 94.8% C 0.160 H 109.9°. Best body text is #000000 at 18.40:1 contrast (WCAG AA passes).
Color values
| HEX | #F5F76C |
|---|---|
| RGB | rgb(245, 247, 108) |
| HSL | hsl(61, 90%, 70%) |
| HSV | hsv(61, 56%, 97%) |
| CMYK | cmyk(0.8%, 0%, 56.3%, 3.1%) |
| CIE-LAB | lab(94.75, -18.16, 65.13) |
| CIE-LCH | lch(94.75, 67.62, 105.58°) |
| OKLab | oklab(94.84% -0.0544 0.1505) |
| OKLCH | oklch(94.84% 0.16 109.9) |
| XYZ | xyz(73.6257, 87.0186, 27.1023) |
| Luminance | 0.8702 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Butter Yellow
#FFFD74
ΔE00 1.65
Pastel Yellow
#FFFE71
ΔE00 1.69
Custard
#FFFD78
ΔE00 1.75
Light Yellow
#FFFE7A
ΔE00 1.85
Banana (survey)
#FFFF7E
ΔE00 2.12
Faded Yellow
#FEFF7F
ΔE00 2.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5F76C #6E6CF7
analogous
#F7B36C #F5F76C #B0F76C
triadic
#F5F76C #6CF5F7 #F76CF5
tetradic
#F5F76C #6CF7B3 #6E6CF7 #F76CB0
square
#F5F76C #6CF7B3 #6E6CF7 #F76CB0
split-complementary
#F5F76C #6CB0F7 #B36CF7
monochromatic
#DADD0C #F1F432 #F5F76C #F9FAA6 #FDFDE0
Accessibility & contrast
On white
1.14
#F5F76C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.40
#F5F76C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5F76C
18.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5F76C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5F76C | 1.00 | 1.14 | 18.40 | 18.40 |
| #FFFFFF | 1.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFED5D
Deuteranopia (green-blind)
#FFF274
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #f5f76c; /* rgb */ color: rgb(245, 247, 108); /* oklch */ color: oklch(94.8% 0.160 109.9);
Tailwind
colors: {
custom: {
50: '#fbf99b',
500: '#f5f76c',
950: '#000000',
},
}SCSS
$custom: #f5f76c; $custom-light: #fbf99b; $custom-dark: #000000;
JSON
{
"hex": "#f5f76c",
"rgb": {
"r": 245,
"g": 247,
"b": 108
},
"hsl": {
"h": 60.863,
"s": 89.677,
"l": 69.608
},
"oklch": {
"l": 0.94843,
"c": 0.16001,
"h": 109.9
},
"luminance": 0.87017
}Semantic roles & 50–950 ramp
primary
#F5F76C
secondary
#3836D1
accent
#00E603
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F