#FBF474#FBF474
#FBF474 is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.8% C 0.149 H 106.1°. Best body text is #000000 at 18.29:1 contrast (WCAG AA passes).
Color values
| HEX | #FBF474 |
|---|---|
| RGB | rgb(251, 244, 116) |
| HSL | hsl(57, 94%, 72%) |
| HSV | hsv(57, 54%, 98%) |
| CMYK | cmyk(0%, 2.8%, 53.8%, 1.6%) |
| CIE-LAB | lab(94.51, -13.73, 61.50) |
| CIE-LCH | lch(94.51, 63.01, 102.58°) |
| OKLab | oklab(94.8% -0.0413 0.1435) |
| OKLCH | oklch(94.8% 0.149 106.1) |
| XYZ | xyz(75.2889, 86.4738, 29.2448) |
| Luminance | 0.8647 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 0.61
Yellowish
#FAEE66
ΔE00 1.96
Custard
#FFFD78
ΔE00 2.05
Manilla
#FFFA86
ΔE00 2.06
Butter Yellow
#FFFD74
ΔE00 2.14
Sandy Yellow
#FDEE73
ΔE00 2.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FBF474 #747BFB
analogous
#FBB174 #FBF474 #BFFB74
triadic
#FBF474 #74FBF4 #F474FB
tetradic
#FBF474 #74FBB1 #747BFB #FB74BF
square
#FBF474 #74FBB1 #747BFB #FB74BF
split-complementary
#FBF474 #74BFFB #B174FB
monochromatic
#EEE207 #F9EF39 #FBF474 #FDF9AF #FEFDE1
Accessibility & contrast
On white
1.15
#FBF474 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.29
#FBF474 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FBF474
18.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FBF474 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FBF474 | 1.00 | 1.15 | 18.29 | 18.29 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC67
Deuteranopia (green-blind)
#FFF27B
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #fbf474; /* rgb */ color: rgb(251, 244, 116); /* oklch */ color: oklch(94.8% 0.149 106.1);
Tailwind
colors: {
custom: {
50: '#fff7a0',
500: '#fbf474',
950: '#000000',
},
}SCSS
$custom: #fbf474; $custom-light: #fff7a0; $custom-dark: #000000;
JSON
{
"hex": "#fbf474",
"rgb": {
"r": 251,
"g": 244,
"b": 116
},
"hsl": {
"h": 56.889,
"s": 94.406,
"l": 71.961
},
"oklch": {
"l": 0.94796,
"c": 0.1493,
"h": 106.1
},
"luminance": 0.86472
}Semantic roles & 50–950 ramp
primary
#FBF474
secondary
#3C44D7
accent
#0CE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580