#FBF77C#FBF77C
#FBF77C is a very light, vivid yellow. Relative luminance 0.885; OKLCH L 95.5% C 0.145 H 107.2°. Best body text is #000000 at 18.70:1 contrast (WCAG AA passes).
Color values
| HEX | #FBF77C |
|---|---|
| RGB | rgb(251, 247, 124) |
| HSL | hsl(58, 94%, 74%) |
| HSV | hsv(58, 51%, 98%) |
| CMYK | cmyk(0%, 1.6%, 50.6%, 1.6%) |
| CIE-LAB | lab(95.37, -14.55, 58.89) |
| CIE-LCH | lch(95.37, 60.66, 103.88°) |
| OKLab | oklab(95.5% -0.0428 0.1386) |
| OKLCH | oklch(95.5% 0.145 107.2) |
| XYZ | xyz(76.6845, 88.4881, 32.1053) |
| Luminance | 0.8849 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 0.59
Manilla
#FFFA86
ΔE00 1.14
Yellowish Tan
#FCFC81
ΔE00 1.30
Custard
#FFFD78
ΔE00 1.59
Light Yellow
#FFFE7A
ΔE00 1.70
Butter
#FFFF81
ΔE00 1.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FBF77C #7C80FB
analogous
#FBB77C #FBF77C #BFFB7C
triadic
#FBF77C #7CFBF7 #F77CFB
tetradic
#FBF77C #7CFBB7 #7C80FB #FB7CBF
square
#FBF77C #7CFBB7 #7C80FB #FB7CBF
split-complementary
#FBF77C #7CBFFB #B77CFB
monochromatic
#F5EE07 #F9F341 #FBF77C #FDFBB7 #FEFDE1
Accessibility & contrast
On white
1.12
#FBF77C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.70
#FBF77C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FBF77C
18.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FBF77C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FBF77C | 1.00 | 1.12 | 18.70 | 18.70 |
| #FFFFFF | 1.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF70
Deuteranopia (green-blind)
#FFF482
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F2F2F2
Design tokens & code
CSS
--color: #fbf77c; /* rgb */ color: rgb(251, 247, 124); /* oklch */ color: oklch(95.5% 0.145 107.2);
Tailwind
colors: {
custom: {
50: '#fff9a5',
500: '#fbf77c',
950: '#000000',
},
}SCSS
$custom: #fbf77c; $custom-light: #fff9a5; $custom-dark: #000000;
JSON
{
"hex": "#fbf77c",
"rgb": {
"r": 251,
"g": 247,
"b": 124
},
"hsl": {
"h": 58.11,
"s": 94.074,
"l": 73.529
},
"oklch": {
"l": 0.955,
"c": 0.1451,
"h": 107.2
},
"luminance": 0.88486
}Semantic roles & 50–950 ramp
primary
#FBF77C
secondary
#4348D8
accent
#07E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580