#FBF17A#FBF17A
#FBF17A is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 94.3% C 0.141 H 104.4°. Best body text is #000000 at 17.97:1 contrast (WCAG AA passes).
Color values
| HEX | #FBF17A |
|---|---|
| RGB | rgb(251, 241, 122) |
| HSL | hsl(55, 94%, 73%) |
| HSV | hsv(55, 51%, 98%) |
| CMYK | cmyk(0%, 4%, 51.4%, 1.6%) |
| CIE-LAB | lab(93.81, -11.78, 57.97) |
| CIE-LCH | lch(93.81, 59.16, 101.49°) |
| OKLab | oklab(94.26% -0.0351 0.1364) |
| OKLCH | oklch(94.26% 0.141 104.4) |
| XYZ | xyz(74.7539, 84.8273, 30.8441) |
| Luminance | 0.8482 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.43
Sandy Yellow
#FDEE73
ΔE00 1.47
Yellowish
#FAEE66
ΔE00 2.17
Manilla
#FFFA86
ΔE00 2.18
Yellowish Tan
#FCFC81
ΔE00 3.07
Custard
#FFFD78
ΔE00 3.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FBF17A #7A84FB
analogous
#FBB07A #FBF17A #C4FB7A
triadic
#FBF17A #7AFBF1 #F17AFB
tetradic
#FBF17A #7AFBB0 #7A84FB #FB7AC4
square
#FBF17A #7AFBB0 #7A84FB #FB7AC4
split-complementary
#FBF17A #7AC4FB #B07AFB
monochromatic
#F3E107 #F9EB3F #FBF17A #FDF7B5 #FEFCE1
Accessibility & contrast
On white
1.17
#FBF17A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.97
#FBF17A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FBF17A
17.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FBF17A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FBF17A | 1.00 | 1.17 | 17.97 | 17.97 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA6F
Deuteranopia (green-blind)
#FFF080
Tritanopia (blue-blind)
#FFE3D6
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #fbf17a; /* rgb */ color: rgb(251, 241, 122); /* oklch */ color: oklch(94.3% 0.141 104.4);
Tailwind
colors: {
custom: {
50: '#fff5a3',
500: '#fbf17a',
950: '#000000',
},
}SCSS
$custom: #fbf17a; $custom-light: #fff5a3; $custom-dark: #000000;
JSON
{
"hex": "#fbf17a",
"rgb": {
"r": 251,
"g": 241,
"b": 122
},
"hsl": {
"h": 55.349,
"s": 94.161,
"l": 73.137
},
"oklch": {
"l": 0.94255,
"c": 0.14088,
"h": 104.4
},
"luminance": 0.84825
}Semantic roles & 50–950 ramp
primary
#FBF17A
secondary
#414DD8
accent
#12E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580