#B8BF37#B8BF37
#B8BF37 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.5% C 0.153 H 112.4°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #B8BF37 |
|---|---|
| RGB | rgb(184, 191, 55) |
| HSL | hsl(63, 55%, 48%) |
| HSV | hsv(63, 71%, 75%) |
| CMYK | cmyk(3.7%, 0%, 71.2%, 25.1%) |
| CIE-LAB | lab(74.65, -18.92, 63.81) |
| CIE-LCH | lch(74.65, 66.56, 106.52°) |
| OKLab | oklab(77.5% -0.0584 0.1416) |
| OKLCH | oklch(77.5% 0.153 112.4) |
| XYZ | xyz(39.0888, 47.7287, 10.7671) |
| Luminance | 0.4773 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.89
Bile
#B5C306
ΔE00 2.99
Baby Puke Green
#B6C406
ΔE00 3.10
Mustard Green
#A8B504
ΔE00 3.76
Puke Yellow
#C2BE0E
ΔE00 4.02
Pea
#A4BF20
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8BF37 #3E37BF
analogous
#BF8237 #B8BF37 #74BF37
triadic
#B8BF37 #37B8BF #BF37B8
tetradic
#B8BF37 #37BF82 #3E37BF #BF3774
square
#B8BF37 #37BF82 #3E37BF #BF3774
split-complementary
#B8BF37 #3774BF #8237BF
monochromatic
#5C601C #8A8F29 #B8BF37 #CCD262 #DBDF91
Accessibility & contrast
On white
1.99
#B8BF37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.55
#B8BF37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8BF37
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8BF37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8BF37 | 1.00 | 1.99 | 10.55 | 10.55 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB61E
Deuteranopia (green-blind)
#CEB942
Tritanopia (blue-blind)
#C4B3A5
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b8bf37; /* rgb */ color: rgb(184, 191, 55); /* oklch */ color: oklch(77.5% 0.153 112.4);
Tailwind
colors: {
custom: {
50: '#d1d277',
500: '#b8bf37',
950: '#000000',
},
}SCSS
$custom: #b8bf37; $custom-light: #d1d277; $custom-dark: #000000;
JSON
{
"hex": "#b8bf37",
"rgb": {
"r": 184,
"g": 191,
"b": 55
},
"hsl": {
"h": 63.088,
"s": 55.285,
"l": 48.235
},
"oklch": {
"l": 0.775,
"c": 0.15315,
"h": 112.4
},
"luminance": 0.47728
}Semantic roles & 50–950 ramp
primary
#B8BF37
secondary
#8B88CA
accent
#49DF51
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B