#FBF275#FBF275
#FBF275 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 | #FBF275 |
|---|---|
| RGB | rgb(251, 242, 117) |
| HSL | hsl(56, 94%, 72%) |
| HSV | hsv(56, 53%, 98%) |
| CMYK | cmyk(0%, 3.6%, 53.4%, 1.6%) |
| CIE-LAB | lab(94.01, -12.67, 60.48) |
| CIE-LCH | lch(94.01, 61.79, 101.83°) |
| OKLab | oklab(94.4% -0.0382 0.1414) |
| OKLCH | oklch(94.4% 0.146 105.1) |
| XYZ | xyz(74.7489, 85.3002, 29.3533) |
| Luminance | 0.8530 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.04
Sandy Yellow
#FDEE73
ΔE00 1.62
Yellowish
#FAEE66
ΔE00 1.71
Manilla
#FFFA86
ΔE00 2.25
Custard
#FFFD78
ΔE00 2.65
Butter Yellow
#FFFD74
ΔE00 2.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FBF275 #757EFB
analogous
#FBAF75 #FBF275 #C1FB75
triadic
#FBF275 #75FBF2 #F275FB
tetradic
#FBF275 #75FBAF #757EFB #FB75C1
square
#FBF275 #75FBAF #757EFB #FB75C1
split-complementary
#FBF275 #75C1FB #AF75FB
monochromatic
#EFDF07 #F9EC3A #FBF275 #FDF8B0 #FEFCE1
Accessibility & contrast
On white
1.16
#FBF275 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.06
#FBF275 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FBF275
18.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FBF275 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FBF275 | 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)
#FFEA69
Deuteranopia (green-blind)
#FFF17B
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #fbf275; /* rgb */ color: rgb(251, 242, 117); /* oklch */ color: oklch(94.4% 0.146 105.1);
Tailwind
colors: {
custom: {
50: '#fff6a0',
500: '#fbf275',
950: '#000000',
},
}SCSS
$custom: #fbf275; $custom-light: #fff6a0; $custom-dark: #000000;
JSON
{
"hex": "#fbf275",
"rgb": {
"r": 251,
"g": 242,
"b": 117
},
"hsl": {
"h": 55.97,
"s": 94.366,
"l": 72.157
},
"oklch": {
"l": 0.944,
"c": 0.14644,
"h": 105.1
},
"luminance": 0.85298
}Semantic roles & 50–950 ramp
primary
#FBF275
secondary
#3D47D7
accent
#0FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580