#FBEF76#FBEF76
#FBEF76 is a very light, vivid yellow. Relative luminance 0.836; OKLCH L 93.8% C 0.143 H 103.6°. Best body text is #000000 at 17.71:1 contrast (WCAG AA passes).
Color values
| HEX | #FBEF76 |
|---|---|
| RGB | rgb(251, 239, 118) |
| HSL | hsl(55, 94%, 72%) |
| HSV | hsv(55, 53%, 98%) |
| CMYK | cmyk(0%, 4.8%, 53%, 1.6%) |
| CIE-LAB | lab(93.26, -11.12, 59.15) |
| CIE-LCH | lch(93.26, 60.18, 100.64°) |
| OKLab | oklab(93.8% -0.0336 0.1386) |
| OKLCH | oklch(93.8% 0.143 103.6) |
| XYZ | xyz(73.9224, 83.5527, 29.3694) |
| Luminance | 0.8355 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 0.82
Yellowish
#FAEE66
ΔE00 1.73
Straw
#FCF679
ΔE00 1.94
Manilla
#FFFA86
ΔE00 2.83
Custard
#FFFD78
ΔE00 3.60
Yellowish Tan
#FCFC81
ΔE00 3.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FBEF76 #7682FB
analogous
#FBAC76 #FBEF76 #C5FB76
triadic
#FBEF76 #76FBEF #EF76FB
tetradic
#FBEF76 #76FBAC #7682FB #FB76C5
square
#FBEF76 #76FBAC #7682FB #FB76C5
split-complementary
#FBEF76 #76C5FB #AC76FB
monochromatic
#F0DB07 #F9E83B #FBEF76 #FDF6B1 #FEFCE1
Accessibility & contrast
On white
1.19
#FBEF76 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.71
#FBEF76 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FBEF76
17.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FBEF76 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FBEF76 | 1.00 | 1.19 | 17.71 | 17.71 |
| #FFFFFF | 1.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE86A
Deuteranopia (green-blind)
#FFEF7C
Tritanopia (blue-blind)
#FFE1D4
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #fbef76; /* rgb */ color: rgb(251, 239, 118); /* oklch */ color: oklch(93.8% 0.143 103.6);
Tailwind
colors: {
custom: {
50: '#fff4a1',
500: '#fbef76',
950: '#000000',
},
}SCSS
$custom: #fbef76; $custom-light: #fff4a1; $custom-dark: #000000;
JSON
{
"hex": "#fbef76",
"rgb": {
"r": 251,
"g": 239,
"b": 118
},
"hsl": {
"h": 54.586,
"s": 94.326,
"l": 72.353
},
"oklch": {
"l": 0.93802,
"c": 0.14263,
"h": 103.6
},
"luminance": 0.8355
}Semantic roles & 50–950 ramp
primary
#FBEF76
secondary
#3E4CD7
accent
#15E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580