#FBF87C#FBF87C
#FBF87C is a very light, vivid yellow. Relative luminance 0.891; OKLCH L 95.7% C 0.146 H 107.6°. Best body text is #000000 at 18.82:1 contrast (WCAG AA passes).
Color values
| HEX | #FBF87C |
|---|---|
| RGB | rgb(251, 248, 124) |
| HSL | hsl(59, 94%, 74%) |
| HSV | hsv(59, 51%, 98%) |
| CMYK | cmyk(0%, 1.2%, 50.6%, 1.6%) |
| CIE-LAB | lab(95.62, -15.04, 59.19) |
| CIE-LCH | lch(95.62, 61.08, 104.26°) |
| OKLab | oklab(95.71% -0.0442 0.1393) |
| OKLCH | oklch(95.71% 0.146 107.6) |
| XYZ | xyz(76.9911, 89.1013, 32.2075) |
| Luminance | 0.8910 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 0.82
Yellowish Tan
#FCFC81
ΔE00 1.04
Manilla
#FFFA86
ΔE00 1.19
Custard
#FFFD78
ΔE00 1.37
Light Yellow
#FFFE7A
ΔE00 1.45
Butter
#FFFF81
ΔE00 1.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FBF87C #7C7FFB
analogous
#FBB87C #FBF87C #BEFB7C
triadic
#FBF87C #7CFBF8 #F87CFB
tetradic
#FBF87C #7CFBB8 #7C7FFB #FB7CBE
square
#FBF87C #7CFBB8 #7C7FFB #FB7CBE
split-complementary
#FBF87C #7CBEFB #B87CFB
monochromatic
#F5F007 #F9F541 #FBF87C #FDFBB7 #FEFDE1
Accessibility & contrast
On white
1.12
#FBF87C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.82
#FBF87C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FBF87C
18.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FBF87C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FBF87C | 1.00 | 1.12 | 18.82 | 18.82 |
| #FFFFFF | 1.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF070
Deuteranopia (green-blind)
#FFF582
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F2F2F2
Design tokens & code
CSS
--color: #fbf87c; /* rgb */ color: rgb(251, 248, 124); /* oklch */ color: oklch(95.7% 0.146 107.6);
Tailwind
colors: {
custom: {
50: '#fffaa5',
500: '#fbf87c',
950: '#000000',
},
}SCSS
$custom: #fbf87c; $custom-light: #fffaa5; $custom-dark: #000000;
JSON
{
"hex": "#fbf87c",
"rgb": {
"r": 251,
"g": 248,
"b": 124
},
"hsl": {
"h": 58.583,
"s": 94.074,
"l": 73.529
},
"oklch": {
"l": 0.95705,
"c": 0.14613,
"h": 107.6
},
"luminance": 0.89099
}Semantic roles & 50–950 ramp
primary
#FBF87C
secondary
#4346D8
accent
#05E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580