#F5F470#F5F470
#F5F470 is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.3% C 0.153 H 108.6°. Best body text is #000000 at 18.06:1 contrast (WCAG AA passes).
Color values
| HEX | #F5F470 |
|---|---|
| RGB | rgb(245, 244, 112) |
| HSL | hsl(60, 87%, 70%) |
| HSV | hsv(60, 54%, 96%) |
| CMYK | cmyk(0%, 0.4%, 54.3%, 3.9%) |
| CIE-LAB | lab(94.01, -16.41, 62.56) |
| CIE-LCH | lch(94.01, 64.68, 104.70°) |
| OKLab | oklab(94.27% -0.049 0.1455) |
| OKLCH | oklch(94.27% 0.153 108.6) |
| XYZ | xyz(72.9335, 85.2856, 27.9459) |
| Luminance | 0.8528 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.48
Custard
#FFFD78
ΔE00 1.89
Butter Yellow
#FFFD74
ΔE00 1.94
Yellowish Tan
#FCFC81
ΔE00 2.05
Light Yellow
#FFFE7A
ΔE00 2.05
Pastel Yellow
#FFFE71
ΔE00 2.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5F470 #7071F5
analogous
#F5B270 #F5F470 #B3F570
triadic
#F5F470 #70F5F4 #F470F5
tetradic
#F5F470 #70F5B2 #7071F5 #F570B3
square
#F5F470 #70F5B2 #7071F5 #F570B3
split-complementary
#F5F470 #70B3F5 #B270F5
monochromatic
#DBDA0F #F1F037 #F5F470 #F9F8A9 #FDFDE2
Accessibility & contrast
On white
1.16
#F5F470 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.06
#F5F470 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5F470
18.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5F470 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5F470 | 1.00 | 1.16 | 18.06 | 18.06 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB62
Deuteranopia (green-blind)
#FFF077
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #f5f470; /* rgb */ color: rgb(245, 244, 112); /* oklch */ color: oklch(94.3% 0.153 108.6);
Tailwind
colors: {
custom: {
50: '#fbf79d',
500: '#f5f470',
950: '#000000',
},
}SCSS
$custom: #f5f470; $custom-light: #fbf79d; $custom-dark: #000000;
JSON
{
"hex": "#f5f470",
"rgb": {
"r": 245,
"g": 244,
"b": 112
},
"hsl": {
"h": 59.549,
"s": 86.928,
"l": 70
},
"oklch": {
"l": 0.94265,
"c": 0.15348,
"h": 108.6
},
"luminance": 0.85284
}Semantic roles & 50–950 ramp
primary
#F5F470
secondary
#3A3BCF
accent
#04E302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580