#FBF276#FBF276
#FBF276 is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.4% C 0.146 H 105.1°. Best body text is #000000 at 18.06:1 contrast (WCAG AA passes).
Color values
| HEX | #FBF276 |
|---|---|
| RGB | rgb(251, 242, 118) |
| HSL | hsl(56, 94%, 72%) |
| HSV | hsv(56, 53%, 98%) |
| CMYK | cmyk(0%, 3.6%, 53%, 1.6%) |
| CIE-LAB | lab(94.02, -12.59, 60.04) |
| CIE-LCH | lch(94.02, 61.35, 101.84°) |
| OKLab | oklab(94.41% -0.0378 0.1405) |
| OKLCH | oklch(94.41% 0.146 105.1) |
| XYZ | xyz(74.8080, 85.3238, 29.6646) |
| Luminance | 0.8532 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.03
Sandy Yellow
#FDEE73
ΔE00 1.62
Yellowish
#FAEE66
ΔE00 1.80
Manilla
#FFFA86
ΔE00 2.18
Custard
#FFFD78
ΔE00 2.68
Butter Yellow
#FFFD74
ΔE00 2.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FBF276 #767FFB
analogous
#FBB076 #FBF276 #C1FB76
triadic
#FBF276 #76FBF2 #F276FB
tetradic
#FBF276 #76FBB0 #767FFB #FB76C1
square
#FBF276 #76FBB0 #767FFB #FB76C1
split-complementary
#FBF276 #76C1FB #B076FB
monochromatic
#F0E007 #F9EC3B #FBF276 #FDF8B1 #FEFCE1
Accessibility & contrast
On white
1.16
#FBF276 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.06
#FBF276 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FBF276
18.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FBF276 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FBF276 | 1.00 | 1.16 | 18.06 | 18.06 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA6A
Deuteranopia (green-blind)
#FFF17C
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #fbf276; /* rgb */ color: rgb(251, 242, 118); /* oklch */ color: oklch(94.4% 0.146 105.1);
Tailwind
colors: {
custom: {
50: '#fff6a1',
500: '#fbf276',
950: '#000000',
},
}SCSS
$custom: #fbf276; $custom-light: #fff6a1; $custom-dark: #000000;
JSON
{
"hex": "#fbf276",
"rgb": {
"r": 251,
"g": 242,
"b": 118
},
"hsl": {
"h": 55.94,
"s": 94.326,
"l": 72.353
},
"oklch": {
"l": 0.94411,
"c": 0.14553,
"h": 105.1
},
"luminance": 0.85321
}Semantic roles & 50–950 ramp
primary
#FBF276
secondary
#3E48D7
accent
#10E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580