#FBF77B#FBF77B
#FBF77B is a very light, vivid yellow. Relative luminance 0.885; OKLCH L 95.5% C 0.146 H 107.2°. Best body text is #000000 at 18.69:1 contrast (WCAG AA passes).
Color values
| HEX | #FBF77B |
|---|---|
| RGB | rgb(251, 247, 123) |
| HSL | hsl(58, 94%, 73%) |
| HSV | hsv(58, 51%, 98%) |
| CMYK | cmyk(0%, 1.6%, 51%, 1.6%) |
| CIE-LAB | lab(95.36, -14.64, 59.33) |
| CIE-LCH | lch(95.36, 61.11, 103.86°) |
| OKLab | oklab(95.49% -0.0432 0.1395) |
| OKLCH | oklch(95.49% 0.146 107.2) |
| XYZ | xyz(76.6216, 88.4629, 31.7739) |
| Luminance | 0.8846 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 0.53
Manilla
#FFFA86
ΔE00 1.24
Yellowish Tan
#FCFC81
ΔE00 1.33
Custard
#FFFD78
ΔE00 1.51
Light Yellow
#FFFE7A
ΔE00 1.64
Butter
#FFFF81
ΔE00 1.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FBF77B #7B7FFB
analogous
#FBB77B #FBF77B #BFFB7B
triadic
#FBF77B #7BFBF7 #F77BFB
tetradic
#FBF77B #7BFBB7 #7B7FFB #FB7BBF
square
#FBF77B #7BFBB7 #7B7FFB #FB7BBF
split-complementary
#FBF77B #7BBFFB #B77BFB
monochromatic
#F4ED07 #F9F340 #FBF77B #FDFBB6 #FEFDE1
Accessibility & contrast
On white
1.12
#FBF77B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.69
#FBF77B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FBF77B
18.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FBF77B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FBF77B | 1.00 | 1.12 | 18.69 | 18.69 |
| #FFFFFF | 1.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF6F
Deuteranopia (green-blind)
#FFF481
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F2F2F2
Design tokens & code
CSS
--color: #fbf77b; /* rgb */ color: rgb(251, 247, 123); /* oklch */ color: oklch(95.5% 0.146 107.2);
Tailwind
colors: {
custom: {
50: '#fff9a4',
500: '#fbf77b',
950: '#000000',
},
}SCSS
$custom: #fbf77b; $custom-light: #fff9a4; $custom-dark: #000000;
JSON
{
"hex": "#fbf77b",
"rgb": {
"r": 251,
"g": 247,
"b": 123
},
"hsl": {
"h": 58.125,
"s": 94.118,
"l": 73.333
},
"oklch": {
"l": 0.95488,
"c": 0.14601,
"h": 107.2
},
"luminance": 0.88461
}Semantic roles & 50–950 ramp
primary
#FBF77B
secondary
#4247D8
accent
#07E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580