#B7B02E#B7B02E
#B7B02E is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.1% C 0.144 H 106.3°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #B7B02E |
|---|---|
| RGB | rgb(183, 176, 46) |
| HSL | hsl(57, 60%, 45%) |
| HSV | hsv(57, 75%, 72%) |
| CMYK | cmyk(0%, 3.8%, 74.9%, 28.2%) |
| CIE-LAB | lab(70.40, -12.16, 62.86) |
| CIE-LCH | lch(70.40, 64.03, 100.95°) |
| OKLab | oklab(74.06% -0.0402 0.138) |
| OKLCH | oklch(74.06% 0.144 106.3) |
| XYZ | xyz(35.5484, 41.3165, 8.6866) |
| Luminance | 0.4132 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.54
Muddy Yellow
#BFAC05
ΔE00 3.96
Puke
#A5A502
ΔE00 4.20
Puke Yellow
#C2BE0E
ΔE00 4.57
Vomit
#A2A415
ΔE00 4.62
Mustard Green
#A8B504
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7B02E #2E35B7
analogous
#B76B2E #B7B02E #7AB72E
triadic
#B7B02E #2EB7B0 #B02EB7
tetradic
#B7B02E #2EB76B #2E35B7 #B72E7A
square
#B7B02E #2EB76B #2E35B7 #B72E7A
split-complementary
#B7B02E #2E7AB7 #6B2EB7
monochromatic
#555215 #868122 #B7B02E #D3CC4F #DFDA80
Accessibility & contrast
On white
2.27
#B7B02E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.26
#B7B02E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7B02E
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7B02E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7B02E | 1.00 | 2.27 | 9.26 | 9.26 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA912
Deuteranopia (green-blind)
#C2AE38
Tritanopia (blue-blind)
#C5A497
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #b7b02e; /* rgb */ color: rgb(183, 176, 46); /* oklch */ color: oklch(74.1% 0.144 106.3);
Tailwind
colors: {
custom: {
50: '#d0c771',
500: '#b7b02e',
950: '#000000',
},
}SCSS
$custom: #b7b02e; $custom-light: #d0c771; $custom-dark: #000000;
JSON
{
"hex": "#b7b02e",
"rgb": {
"r": 183,
"g": 176,
"b": 46
},
"hsl": {
"h": 56.934,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.74064,
"c": 0.14375,
"h": 106.3
},
"luminance": 0.41315
}Semantic roles & 50–950 ramp
primary
#B7B02E
secondary
#797DC8
accent
#4DE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B