#FBF280#FBF280
#FBF280 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.5% C 0.136 H 104.7°. Best body text is #000000 at 18.11:1 contrast (WCAG AA passes).
Color values
| HEX | #FBF280 |
|---|---|
| RGB | rgb(251, 242, 128) |
| HSL | hsl(56, 94%, 74%) |
| HSV | hsv(56, 49%, 98%) |
| CMYK | cmyk(0%, 3.6%, 49%, 1.6%) |
| CIE-LAB | lab(94.13, -11.77, 55.59) |
| CIE-LCH | lch(94.13, 56.82, 101.96°) |
| OKLab | oklab(94.53% -0.0345 0.1318) |
| OKLCH | oklch(94.53% 0.136 104.7) |
| XYZ | xyz(75.4340, 85.5743, 32.9618) |
| Luminance | 0.8557 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.60
Manilla
#FFFA86
ΔE00 1.80
Sandy Yellow
#FDEE73
ΔE00 2.07
Yellowish Tan
#FCFC81
ΔE00 2.86
Yellowish
#FAEE66
ΔE00 2.90
Custard
#FFFD78
ΔE00 3.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FBF280 #8089FB
analogous
#FBB580 #FBF280 #C7FB80
triadic
#FBF280 #80FBF2 #F280FB
tetradic
#FBF280 #80FBB5 #8089FB #FB80C7
square
#FBF280 #80FBB5 #8089FB #FB80C7
split-complementary
#FBF280 #80C7FB #B580FB
monochromatic
#F7E609 #F9EC45 #FBF280 #FDF8BB #FEFCE1
Accessibility & contrast
On white
1.16
#FBF280 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.11
#FBF280 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FBF280
18.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FBF280 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FBF280 | 1.00 | 1.16 | 18.11 | 18.11 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB76
Deuteranopia (green-blind)
#FFF185
Tritanopia (blue-blind)
#FFE5D8
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #fbf280; /* rgb */ color: rgb(251, 242, 128); /* oklch */ color: oklch(94.5% 0.136 104.7);
Tailwind
colors: {
custom: {
50: '#fff6a7',
500: '#fbf280',
950: '#000000',
},
}SCSS
$custom: #fbf280; $custom-light: #fff6a7; $custom-dark: #000000;
JSON
{
"hex": "#fbf280",
"rgb": {
"r": 251,
"g": 242,
"b": 128
},
"hsl": {
"h": 55.61,
"s": 93.893,
"l": 74.314
},
"oklch": {
"l": 0.94531,
"c": 0.1362,
"h": 104.7
},
"luminance": 0.85572
}Semantic roles & 50–950 ramp
primary
#FBF280
secondary
#4651D9
accent
#11E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580