#FBF17F#FBF17F
#FBF17F is a very light, vivid yellow. Relative luminance 0.850; OKLCH L 94.3% C 0.136 H 104.2°. Best body text is #000000 at 17.99:1 contrast (WCAG AA passes).
Color values
| HEX | #FBF17F |
|---|---|
| RGB | rgb(251, 241, 127) |
| HSL | hsl(55, 94%, 74%) |
| HSV | hsv(55, 49%, 98%) |
| CMYK | cmyk(0%, 4%, 49.4%, 1.6%) |
| CIE-LAB | lab(93.86, -11.36, 55.73) |
| CIE-LCH | lch(93.86, 56.88, 101.52°) |
| OKLab | oklab(94.32% -0.0334 0.132) |
| OKLCH | oklch(94.32% 0.136 104.2) |
| XYZ | xyz(75.0717, 84.9544, 32.5179) |
| Luminance | 0.8495 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.78
Sandy Yellow
#FDEE73
ΔE00 1.82
Manilla
#FFFA86
ΔE00 2.08
Yellowish
#FAEE66
ΔE00 2.76
Yellowish Tan
#FCFC81
ΔE00 3.15
Custard
#FFFD78
ΔE00 3.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FBF17F #7F89FB
analogous
#FBB37F #FBF17F #C7FB7F
triadic
#FBF17F #7FFBF1 #F17FFB
tetradic
#FBF17F #7FFBB3 #7F89FB #FB7FC7
square
#FBF17F #7FFBB3 #7F89FB #FB7FC7
split-complementary
#FBF17F #7FC7FB #B37FFB
monochromatic
#F7E408 #F9EB44 #FBF17F #FDF7BA #FEFCE1
Accessibility & contrast
On white
1.17
#FBF17F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.99
#FBF17F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FBF17F
17.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FBF17F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FBF17F | 1.00 | 1.17 | 17.99 | 17.99 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA75
Deuteranopia (green-blind)
#FFF084
Tritanopia (blue-blind)
#FFE4D7
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #fbf17f; /* rgb */ color: rgb(251, 241, 127); /* oklch */ color: oklch(94.3% 0.136 104.2);
Tailwind
colors: {
custom: {
50: '#fff5a7',
500: '#fbf17f',
950: '#000000',
},
}SCSS
$custom: #fbf17f; $custom-light: #fff5a7; $custom-dark: #000000;
JSON
{
"hex": "#fbf17f",
"rgb": {
"r": 251,
"g": 241,
"b": 127
},
"hsl": {
"h": 55.161,
"s": 93.939,
"l": 74.118
},
"oklch": {
"l": 0.94316,
"c": 0.13616,
"h": 104.2
},
"luminance": 0.84952
}Semantic roles & 50–950 ramp
primary
#FBF17F
secondary
#4651D9
accent
#13E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580