#B7B237#B7B237
#B7B237 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.6% C 0.140 H 107.0°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #B7B237 |
|---|---|
| RGB | rgb(183, 178, 55) |
| HSL | hsl(58, 54%, 47%) |
| HSV | hsv(58, 70%, 72%) |
| CMYK | cmyk(0%, 2.7%, 69.9%, 28.2%) |
| CIE-LAB | lab(71.00, -12.76, 60.21) |
| CIE-LCH | lch(71.00, 61.55, 101.97°) |
| OKLab | oklab(74.56% -0.0411 0.134) |
| OKLCH | oklch(74.56% 0.14 107) |
| XYZ | xyz(36.1398, 42.1851, 9.8525) |
| Luminance | 0.4218 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 4.09
Puke Yellow
#C2BE0E
ΔE00 4.68
Puke
#A5A502
ΔE00 4.71
Mustard Green
#A8B504
ΔE00 4.80
Muddy Yellow
#BFAC05
ΔE00 4.90
Vomit
#A2A415
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7B237 #373CB7
analogous
#B77237 #B7B237 #7CB737
triadic
#B7B237 #37B7B2 #B237B7
tetradic
#B7B237 #37B772 #373CB7 #B7377C
square
#B7B237 #37B772 #373CB7 #B7377C
split-complementary
#B7B237 #377CB7 #7237B7
monochromatic
#59561B #888429 #B7B237 #CECA5D #DCD98C
Accessibility & contrast
On white
2.23
#B7B237 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.44
#B7B237 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7B237
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7B237 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7B237 | 1.00 | 2.23 | 9.44 | 9.44 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB23
Deuteranopia (green-blind)
#C3B040
Tritanopia (blue-blind)
#C4A69A
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b7b237; /* rgb */ color: rgb(183, 178, 55); /* oklch */ color: oklch(74.6% 0.140 107.0);
Tailwind
colors: {
custom: {
50: '#d0c876',
500: '#b7b237',
950: '#000000',
},
}SCSS
$custom: #b7b237; $custom-light: #d0c876; $custom-dark: #000000;
JSON
{
"hex": "#b7b237",
"rgb": {
"r": 183,
"g": 178,
"b": 55
},
"hsl": {
"h": 57.656,
"s": 53.782,
"l": 46.667
},
"oklch": {
"l": 0.7456,
"c": 0.14016,
"h": 107
},
"luminance": 0.42184
}Semantic roles & 50–950 ramp
primary
#B7B237
secondary
#8386C7
accent
#50DD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B