#FBF477#FBF477
#FBF477 is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.8% C 0.147 H 106.0°. Best body text is #000000 at 18.31:1 contrast (WCAG AA passes).
Color values
| HEX | #FBF477 |
|---|---|
| RGB | rgb(251, 244, 119) |
| HSL | hsl(57, 94%, 73%) |
| HSV | hsv(57, 53%, 98%) |
| CMYK | cmyk(0%, 2.8%, 52.6%, 1.6%) |
| CIE-LAB | lab(94.54, -13.49, 60.19) |
| CIE-LCH | lch(94.54, 61.69, 102.63°) |
| OKLab | oklab(94.83% -0.0403 0.141) |
| OKLCH | oklch(94.83% 0.147 106) |
| XYZ | xyz(75.4662, 86.5448, 30.1787) |
| Luminance | 0.8654 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 0.45
Manilla
#FFFA86
ΔE00 1.79
Custard
#FFFD78
ΔE00 2.12
Yellowish
#FAEE66
ΔE00 2.18
Sandy Yellow
#FDEE73
ΔE00 2.21
Yellowish Tan
#FCFC81
ΔE00 2.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FBF477 #777EFB
analogous
#FBB277 #FBF477 #C0FB77
triadic
#FBF477 #77FBF4 #F477FB
tetradic
#FBF477 #77FBB2 #777EFB #FB77C0
square
#FBF477 #77FBB2 #777EFB #FB77C0
split-complementary
#FBF477 #77C0FB #B277FB
monochromatic
#F1E407 #F9EF3C #FBF477 #FDF9B2 #FEFDE1
Accessibility & contrast
On white
1.15
#FBF477 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.31
#FBF477 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FBF477
18.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FBF477 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FBF477 | 1.00 | 1.15 | 18.31 | 18.31 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC6B
Deuteranopia (green-blind)
#FFF27D
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #fbf477; /* rgb */ color: rgb(251, 244, 119); /* oklch */ color: oklch(94.8% 0.147 106.0);
Tailwind
colors: {
custom: {
50: '#fff7a1',
500: '#fbf477',
950: '#000000',
},
}SCSS
$custom: #fbf477; $custom-light: #fff7a1; $custom-dark: #000000;
JSON
{
"hex": "#fbf477",
"rgb": {
"r": 251,
"g": 244,
"b": 119
},
"hsl": {
"h": 56.818,
"s": 94.286,
"l": 72.549
},
"oklch": {
"l": 0.9483,
"c": 0.14662,
"h": 106
},
"luminance": 0.86543
}Semantic roles & 50–950 ramp
primary
#FBF477
secondary
#3F47D8
accent
#0CE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580