#B7B72E#B7B72E
#B7B72E is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.6% C 0.150 H 109.5°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #B7B72E |
|---|---|
| RGB | rgb(183, 183, 46) |
| HSL | hsl(60, 60%, 45%) |
| HSV | hsv(60, 75%, 72%) |
| CMYK | cmyk(0%, 0%, 74.9%, 28.2%) |
| CIE-LAB | lab(72.32, -15.74, 64.65) |
| CIE-LCH | lch(72.32, 66.54, 103.68°) |
| OKLab | oklab(75.6% -0.0503 0.1418) |
| OKLCH | oklch(75.6% 0.15 109.5) |
| XYZ | xyz(36.9564, 44.1326, 9.1560) |
| Luminance | 0.4413 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 3.35
Mustard Green
#A8B504
ΔE00 3.43
Snot
#ACBB0D
ΔE00 3.60
Olive Yellow
#C2B709
ΔE00 3.73
Vomit Yellow
#C7C10C
ΔE00 4.29
Bile
#B5C306
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7B72E #2E2EB7
analogous
#B7732E #B7B72E #73B72E
triadic
#B7B72E #2EB7B7 #B72EB7
tetradic
#B7B72E #2EB773 #2E2EB7 #B72E73
square
#B7B72E #2EB773 #2E2EB7 #B72E73
split-complementary
#B7B72E #2E73B7 #732EB7
monochromatic
#555515 #868622 #B7B72E #D3D34F #DFDF80
Accessibility & contrast
On white
2.14
#B7B72E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.83
#B7B72E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7B72E
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7B72E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7B72E | 1.00 | 2.14 | 9.83 | 9.83 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF0D
Deuteranopia (green-blind)
#C8B339
Tritanopia (blue-blind)
#C4AB9D
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b7b72e; /* rgb */ color: rgb(183, 183, 46); /* oklch */ color: oklch(75.6% 0.150 109.5);
Tailwind
colors: {
custom: {
50: '#d0cc72',
500: '#b7b72e',
950: '#000000',
},
}SCSS
$custom: #b7b72e; $custom-light: #d0cc72; $custom-dark: #000000;
JSON
{
"hex": "#b7b72e",
"rgb": {
"r": 183,
"g": 183,
"b": 46
},
"hsl": {
"h": 60,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.75596,
"c": 0.15043,
"h": 109.5
},
"luminance": 0.44132
}Semantic roles & 50–950 ramp
primary
#B7B72E
secondary
#7979C8
accent
#45E345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B