#B7B52B#B7B52B
#B7B52B is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.1% C 0.150 H 108.7°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #B7B52B |
|---|---|
| RGB | rgb(183, 181, 43) |
| HSL | hsl(59, 62%, 44%) |
| HSV | hsv(59, 77%, 72%) |
| CMYK | cmyk(0%, 1.1%, 76.5%, 28.2%) |
| CIE-LAB | lab(71.75, -14.84, 65.09) |
| CIE-LCH | lch(71.75, 66.76, 102.85°) |
| OKLab | oklab(75.14% -0.048 0.1422) |
| OKLCH | oklch(75.14% 0.15 108.7) |
| XYZ | xyz(36.4898, 43.2906, 8.7188) |
| Luminance | 0.4329 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.35
Puke Yellow
#C2BE0E
ΔE00 3.41
Mustard Green
#A8B504
ΔE00 3.69
Snot
#ACBB0D
ΔE00 4.07
Vomit Yellow
#C7C10C
ΔE00 4.36
Puke
#A5A502
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7B52B #2B2DB7
analogous
#B76F2B #B7B52B #73B72B
triadic
#B7B52B #2BB7B5 #B52BB7
tetradic
#B7B52B #2BB76F #2B2DB7 #B72B73
square
#B7B52B #2BB76F #2B2DB7 #B72B73
split-complementary
#B7B52B #2B73B7 #6F2BB7
monochromatic
#545314 #85841F #B7B52B #D5D34B #E0DF7C
Accessibility & contrast
On white
2.17
#B7B52B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.66
#B7B52B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7B52B
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7B52B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7B52B | 1.00 | 2.17 | 9.66 | 9.66 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD04
Deuteranopia (green-blind)
#C6B237
Tritanopia (blue-blind)
#C4A99B
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b7b52b; /* rgb */ color: rgb(183, 181, 43); /* oklch */ color: oklch(75.1% 0.150 108.7);
Tailwind
colors: {
custom: {
50: '#d0ca70',
500: '#b7b52b',
950: '#000000',
},
}SCSS
$custom: #b7b52b; $custom-light: #d0ca70; $custom-dark: #000000;
JSON
{
"hex": "#b7b52b",
"rgb": {
"r": 183,
"g": 181,
"b": 43
},
"hsl": {
"h": 59.143,
"s": 61.947,
"l": 44.314
},
"oklch": {
"l": 0.75139,
"c": 0.15007,
"h": 108.7
},
"luminance": 0.43289
}Semantic roles & 50–950 ramp
primary
#B7B52B
secondary
#7576C9
accent
#45E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B