#B7B751#B7B751
#B7B751 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.9% C 0.125 H 109.0°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #B7B751 |
|---|---|
| RGB | rgb(183, 183, 81) |
| HSL | hsl(60, 41%, 52%) |
| HSV | hsv(60, 56%, 72%) |
| CMYK | cmyk(0%, 0%, 55.7%, 28.2%) |
| CIE-LAB | lab(72.58, -13.64, 50.88) |
| CIE-LCH | lch(72.58, 52.67, 105.01°) |
| OKLab | oklab(75.89% -0.0407 0.1181) |
| OKLCH | oklch(75.89% 0.125 109) |
| XYZ | xyz(37.9482, 44.5293, 14.3790) |
| Luminance | 0.4453 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.25
Mustard Green
#A8B504
ΔE00 6.10
Light Olive
#ACBF69
ΔE00 6.14
Snot
#ACBB0D
ΔE00 6.20
Booger
#9BB53C
ΔE00 6.42
Light Olive Green
#A4BE5C
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7B751 #5151B7
analogous
#B78451 #B7B751 #84B751
triadic
#B7B751 #51B7B7 #B751B7
tetradic
#B7B751 #51B784 #5151B7 #B75184
square
#B7B751 #51B784 #5151B7 #B75184
split-complementary
#B7B751 #5184B7 #8451B7
monochromatic
#646429 #8F8F3B #B7B751 #C9C97C #DBDBA8
Accessibility & contrast
On white
2.12
#B7B751 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.91
#B7B751 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7B751
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7B751 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7B751 | 1.00 | 2.12 | 9.91 | 9.91 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B046
Deuteranopia (green-blind)
#C6B457
Tritanopia (blue-blind)
#C3ADA1
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b7b751; /* rgb */ color: rgb(183, 183, 81); /* oklch */ color: oklch(75.9% 0.125 109.0);
Tailwind
colors: {
custom: {
50: '#cfcc85',
500: '#b7b751',
950: '#000000',
},
}SCSS
$custom: #b7b751; $custom-light: #cfcc85; $custom-dark: #000000;
JSON
{
"hex": "#b7b751",
"rgb": {
"r": 183,
"g": 183,
"b": 81
},
"hsl": {
"h": 60,
"s": 41.463,
"l": 51.765
},
"oklch": {
"l": 0.75891,
"c": 0.1249,
"h": 109
},
"luminance": 0.44528
}Semantic roles & 50–950 ramp
primary
#B7B751
secondary
#9C9CC8
accent
#57D157
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C