#FBF397#FBF397
#FBF397 is a very light, moderate yellow. Relative luminance 0.868; OKLCH L 95.1% C 0.114 H 104.0°. Best body text is #000000 at 18.37:1 contrast (WCAG AA passes).
Color values
| HEX | #FBF397 |
|---|---|
| RGB | rgb(251, 243, 151) |
| HSL | hsl(55, 93%, 79%) |
| HSV | hsv(55, 40%, 98%) |
| CMYK | cmyk(0%, 3.2%, 39.8%, 1.6%) |
| CIE-LAB | lab(94.67, -10.08, 45.28) |
| CIE-LCH | lch(94.67, 46.39, 102.55°) |
| OKLab | oklab(95.06% -0.0275 0.1103) |
| OKLCH | oklch(95.06% 0.114 104) |
| XYZ | xyz(77.4215, 86.8468, 41.9569) |
| Luminance | 0.8685 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Buff
#FEF69E
ΔE00 0.93
Dark Cream
#FFF39A
ΔE00 1.18
Khaki (CSS)
#F0E68C
ΔE00 2.74
Manilla
#FFFA86
ΔE00 3.55
Parchment
#FEFCAF
ΔE00 3.58
Straw
#FCF679
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FBF397 #979FFB
analogous
#FBC197 #FBF397 #D1FB97
triadic
#FBF397 #97FBF3 #F397FB
tetradic
#FBF397 #97FBC1 #979FFB #FB97D1
square
#FBF397 #97FBC1 #979FFB #FB97D1
split-complementary
#FBF397 #97D1FB #C197FB
monochromatic
#F6E521 #F9EC5C #FBF397 #FDFAD2 #FEFCE2
Accessibility & contrast
On white
1.14
#FBF397 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.37
#FBF397 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FBF397
18.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FBF397 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FBF397 | 1.00 | 1.14 | 18.37 | 18.37 |
| #FFFFFF | 1.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFED90
Deuteranopia (green-blind)
#FFF29B
Tritanopia (blue-blind)
#FFE8DC
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #fbf397; /* rgb */ color: rgb(251, 243, 151); /* oklch */ color: oklch(95.1% 0.114 104.0);
Tailwind
colors: {
custom: {
50: '#fef6b7',
500: '#fbf397',
950: '#000000',
},
}SCSS
$custom: #fbf397; $custom-light: #fef6b7; $custom-dark: #000000;
JSON
{
"hex": "#fbf397",
"rgb": {
"r": 251,
"g": 243,
"b": 151
},
"hsl": {
"h": 55.2,
"s": 92.593,
"l": 78.824
},
"oklch": {
"l": 0.95056,
"c": 0.11367,
"h": 104
},
"luminance": 0.86845
}Semantic roles & 50–950 ramp
primary
#FBF397
secondary
#5A65DC
accent
#12E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581