#B7B545#B7B545
#B7B545 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.3% C 0.133 H 108.2°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #B7B545 |
|---|---|
| RGB | rgb(183, 181, 69) |
| HSL | hsl(59, 45%, 49%) |
| HSV | hsv(59, 62%, 72%) |
| CMYK | cmyk(0%, 1.1%, 62.3%, 28.2%) |
| CIE-LAB | lab(71.92, -13.48, 55.49) |
| CIE-LCH | lch(71.92, 57.11, 103.65°) |
| OKLab | oklab(75.33% -0.0416 0.1263) |
| OKLCH | oklch(75.33% 0.133 108.2) |
| XYZ | xyz(37.1277, 43.5458, 12.0785) |
| Luminance | 0.4355 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 5.15
Olive Yellow
#C2B709
ΔE00 5.41
Darkkhaki
#BDB76B
ΔE00 5.42
Snot
#ACBB0D
ΔE00 5.43
Puke Yellow
#C2BE0E
ΔE00 5.46
Vomit
#A2A415
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7B545 #4547B7
analogous
#B77C45 #B7B545 #80B745
triadic
#B7B545 #45B7B5 #B545B7
tetradic
#B7B545 #45B77C #4547B7 #B74580
square
#B7B545 #45B77C #4547B7 #B74580
split-complementary
#B7B545 #4580B7 #7C45B7
monochromatic
#5E5D23 #8B8934 #B7B545 #C9C870 #DAD99D
Accessibility & contrast
On white
2.16
#B7B545 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.71
#B7B545 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7B545
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7B545 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7B545 | 1.00 | 2.16 | 9.71 | 9.71 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AE37
Deuteranopia (green-blind)
#C5B24C
Tritanopia (blue-blind)
#C3AA9E
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b7b545; /* rgb */ color: rgb(183, 181, 69); /* oklch */ color: oklch(75.3% 0.133 108.2);
Tailwind
colors: {
custom: {
50: '#cfca7e',
500: '#b7b545',
950: '#000000',
},
}SCSS
$custom: #b7b545; $custom-light: #cfca7e; $custom-dark: #000000;
JSON
{
"hex": "#b7b545",
"rgb": {
"r": 183,
"g": 181,
"b": 69
},
"hsl": {
"h": 58.947,
"s": 45.238,
"l": 49.412
},
"oklch": {
"l": 0.75331,
"c": 0.133,
"h": 108.2
},
"luminance": 0.43545
}Semantic roles & 50–950 ramp
primary
#B7B545
secondary
#9293C6
accent
#55D553
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C