#B7C628#B7C628
#B7C628 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 78.9% C 0.169 H 115.3°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).
Color values
| HEX | #B7C628 |
|---|---|
| RGB | rgb(183, 198, 40) |
| HSL | hsl(66, 66%, 47%) |
| HSV | hsv(66, 80%, 78%) |
| CMYK | cmyk(7.6%, 0%, 79.8%, 22.4%) |
| CIE-LAB | lab(76.44, -23.43, 70.17) |
| CIE-LCH | lch(76.44, 73.98, 108.46°) |
| OKLab | oklab(78.89% -0.072 0.1525) |
| OKLCH | oklch(78.89% 0.169 115.3) |
| XYZ | xyz(40.1067, 50.6093, 9.6629) |
| Luminance | 0.5061 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 1.49
Bile
#B5C306
ΔE00 1.54
Green Yellow
#B5CE08
ΔE00 2.72
Snot
#ACBB0D
ΔE00 2.97
Pea
#A4BF20
ΔE00 3.53
Gross Green
#A0BF16
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7C628 #3728C6
analogous
#C68628 #B7C628 #68C628
triadic
#B7C628 #28B7C6 #C628B7
tetradic
#B7C628 #28C686 #3728C6 #C62868
square
#B7C628 #28C686 #3728C6 #C62868
split-complementary
#B7C628 #2868C6 #8628C6
monochromatic
#596013 #88931E #B7C628 #CEDC50 #DCE683
Accessibility & contrast
On white
1.89
#B7C628 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.12
#B7C628 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7C628
11.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7C628 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7C628 | 1.00 | 1.89 | 11.12 | 11.12 |
| #FFFFFF | 1.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#D4BE38
Tritanopia (blue-blind)
#C3BAA9
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #b7c628; /* rgb */ color: rgb(183, 198, 40); /* oklch */ color: oklch(78.9% 0.169 115.3);
Tailwind
colors: {
custom: {
50: '#d1d771',
500: '#b7c628',
950: '#000000',
},
}SCSS
$custom: #b7c628; $custom-light: #d1d771; $custom-dark: #000000;
JSON
{
"hex": "#b7c628",
"rgb": {
"r": 183,
"g": 198,
"b": 40
},
"hsl": {
"h": 65.696,
"s": 66.387,
"l": 46.667
},
"oklch": {
"l": 0.7889,
"c": 0.16866,
"h": 115.3
},
"luminance": 0.50609
}Semantic roles & 50–950 ramp
primary
#B7C628
secondary
#2E276B
accent
#3EE94F
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D