#FBF197#FBF197
#FBF197 is a very light, moderate yellow. Relative luminance 0.857; OKLCH L 94.7% C 0.112 H 102.8°. Best body text is #000000 at 18.13:1 contrast (WCAG AA passes).
Color values
| HEX | #FBF197 |
|---|---|
| RGB | rgb(251, 241, 151) |
| HSL | hsl(54, 93%, 79%) |
| HSV | hsv(54, 40%, 98%) |
| CMYK | cmyk(0%, 4%, 39.8%, 1.6%) |
| CIE-LAB | lab(94.17, -9.09, 44.63) |
| CIE-LCH | lch(94.17, 45.55, 101.51°) |
| OKLab | oklab(94.65% -0.0247 0.1088) |
| OKLCH | oklch(94.65% 0.112 102.8) |
| XYZ | xyz(76.8263, 85.6562, 41.7585) |
| Luminance | 0.8565 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Cream
#FFF39A
ΔE00 0.76
Buff
#FEF69E
ΔE00 1.18
Khaki (CSS)
#F0E68C
ΔE00 2.36
Parchment
#FEFCAF
ΔE00 3.82
Manilla
#FFFA86
ΔE00 4.05
Light Tan
#FBEEAC
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FBF197 #97A1FB
analogous
#FBBF97 #FBF197 #D3FB97
triadic
#FBF197 #97FBF1 #F197FB
tetradic
#FBF197 #97FBBF #97A1FB #FB97D3
square
#FBF197 #97FBBF #97A1FB #FB97D3
split-complementary
#FBF197 #97D3FB #BF97FB
monochromatic
#F6E121 #F9E95C #FBF197 #FDF9D2 #FEFBE2
Accessibility & contrast
On white
1.16
#FBF197 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.13
#FBF197 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FBF197
18.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FBF197 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FBF197 | 1.00 | 1.16 | 18.13 | 18.13 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB90
Deuteranopia (green-blind)
#FFF19B
Tritanopia (blue-blind)
#FFE6DB
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #fbf197; /* rgb */ color: rgb(251, 241, 151); /* oklch */ color: oklch(94.7% 0.112 102.8);
Tailwind
colors: {
custom: {
50: '#fef5b7',
500: '#fbf197',
950: '#000000',
},
}SCSS
$custom: #fbf197; $custom-light: #fef5b7; $custom-dark: #000000;
JSON
{
"hex": "#fbf197",
"rgb": {
"r": 251,
"g": 241,
"b": 151
},
"hsl": {
"h": 54,
"s": 92.593,
"l": 78.824
},
"oklch": {
"l": 0.94653,
"c": 0.11158,
"h": 102.8
},
"luminance": 0.85654
}Semantic roles & 50–950 ramp
primary
#FBF197
secondary
#5A67DC
accent
#17E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581