#B7C52A#B7C52A
#B7C52A is a light, vivid yellow. Relative luminance 0.502; OKLCH L 78.7% C 0.167 H 115.0°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).
Color values
| HEX | #B7C52A |
|---|---|
| RGB | rgb(183, 197, 42) |
| HSL | hsl(65, 65%, 47%) |
| HSV | hsv(65, 79%, 77%) |
| CMYK | cmyk(7.1%, 0%, 78.7%, 22.7%) |
| CIE-LAB | lab(76.17, -22.87, 69.38) |
| CIE-LCH | lch(76.17, 73.05, 108.24°) |
| OKLab | oklab(78.68% -0.0704 0.1512) |
| OKLCH | oklch(78.68% 0.167 115) |
| XYZ | xyz(39.9138, 50.1677, 9.7708) |
| Luminance | 0.5017 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 1.55
Bile
#B5C306
ΔE00 1.56
Snot
#ACBB0D
ΔE00 2.81
Green Yellow
#B5CE08
ΔE00 3.04
Pea
#A4BF20
ΔE00 3.51
Gross Green
#A0BF16
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7C52A #382AC5
analogous
#C5852A #B7C52A #6AC52A
triadic
#B7C52A #2AB7C5 #C52AB7
tetradic
#B7C52A #2AC585 #382AC5 #C52A6A
square
#B7C52A #2AC585 #382AC5 #C52A6A
split-complementary
#B7C52A #2A6AC5 #852AC5
monochromatic
#596014 #88931F #B7C52A #CEDA52 #DCE585
Accessibility & contrast
On white
1.90
#B7C52A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.03
#B7C52A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7C52A
11.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7C52A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7C52A | 1.00 | 1.90 | 11.03 | 11.03 |
| #FFFFFF | 1.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D3BD39
Tritanopia (blue-blind)
#C3B9A9
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #b7c52a; /* rgb */ color: rgb(183, 197, 42); /* oklch */ color: oklch(78.7% 0.167 115.0);
Tailwind
colors: {
custom: {
50: '#d1d672',
500: '#b7c52a',
950: '#000000',
},
}SCSS
$custom: #b7c52a; $custom-light: #d1d672; $custom-dark: #000000;
JSON
{
"hex": "#b7c52a",
"rgb": {
"r": 183,
"g": 197,
"b": 42
},
"hsl": {
"h": 65.419,
"s": 64.854,
"l": 46.863
},
"oklch": {
"l": 0.78677,
"c": 0.16672,
"h": 115
},
"luminance": 0.50167
}Semantic roles & 50–950 ramp
primary
#B7C52A
secondary
#2E286B
accent
#40E84F
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D