#B7C03A#B7C03A
#B7C03A is a light, vivid yellow. Relative luminance 0.481; OKLCH L 77.7% C 0.153 H 113.2°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).
Color values
| HEX | #B7C03A |
|---|---|
| RGB | rgb(183, 192, 58) |
| HSL | hsl(64, 54%, 49%) |
| HSV | hsv(64, 70%, 75%) |
| CMYK | cmyk(4.7%, 0%, 69.8%, 24.7%) |
| CIE-LAB | lab(74.87, -19.69, 62.91) |
| CIE-LCH | lch(74.87, 65.92, 107.38°) |
| OKLab | oklab(77.66% -0.0602 0.1402) |
| OKLCH | oklch(77.66% 0.153 113.2) |
| XYZ | xyz(39.1429, 48.0729, 11.2192) |
| Luminance | 0.4807 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.97
Bile
#B5C306
ΔE00 3.07
Baby Puke Green
#B6C406
ΔE00 3.17
Mustard Green
#A8B504
ΔE00 3.94
Pea
#A4BF20
ΔE00 3.97
Puke Yellow
#C2BE0E
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7C03A #433AC0
analogous
#C0863A #B7C03A #74C03A
triadic
#B7C03A #3AB7C0 #C03AB7
tetradic
#B7C03A #3AC086 #433AC0 #C03A74
square
#B7C03A #3AC086 #433AC0 #C03A74
split-complementary
#B7C03A #3A74C0 #863AC0
monochromatic
#5D621E #8A912C #B7C03A #CAD166 #DADF95
Accessibility & contrast
On white
1.98
#B7C03A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.61
#B7C03A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7C03A
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7C03A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7C03A | 1.00 | 1.98 | 10.61 | 10.61 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB724
Deuteranopia (green-blind)
#CEBA44
Tritanopia (blue-blind)
#C3B5A6
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b7c03a; /* rgb */ color: rgb(183, 192, 58); /* oklch */ color: oklch(77.7% 0.153 113.2);
Tailwind
colors: {
custom: {
50: '#d0d279',
500: '#b7c03a',
950: '#000000',
},
}SCSS
$custom: #b7c03a; $custom-light: #d0d279; $custom-dark: #000000;
JSON
{
"hex": "#b7c03a",
"rgb": {
"r": 183,
"g": 192,
"b": 58
},
"hsl": {
"h": 64.03,
"s": 53.6,
"l": 49.02
},
"oklch": {
"l": 0.77661,
"c": 0.15258,
"h": 113.2
},
"luminance": 0.48072
}Semantic roles & 50–950 ramp
primary
#B7C03A
secondary
#908BCA
accent
#4BDD55
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C