#B7C52C#B7C52C
#B7C52C is a light, vivid yellow. Relative luminance 0.502; OKLCH L 78.7% C 0.166 H 115.0°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).
Color values
| HEX | #B7C52C |
|---|---|
| RGB | rgb(183, 197, 44) |
| HSL | hsl(65, 63%, 47%) |
| HSV | hsv(65, 78%, 77%) |
| CMYK | cmyk(7.1%, 0%, 77.7%, 22.7%) |
| CIE-LAB | lab(76.18, -22.79, 68.81) |
| CIE-LCH | lch(76.18, 72.48, 108.33°) |
| OKLab | oklab(78.69% -0.07 0.1503) |
| OKLCH | oklch(78.69% 0.166 115) |
| XYZ | xyz(39.9505, 50.1824, 9.9640) |
| Luminance | 0.5018 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 1.69
Bile
#B5C306
ΔE00 1.70
Snot
#ACBB0D
ΔE00 2.85
Green Yellow
#B5CE08
ΔE00 3.11
Pea
#A4BF20
ΔE00 3.48
Gross Green
#A0BF16
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7C52C #3A2CC5
analogous
#C5862C #B7C52C #6BC52C
triadic
#B7C52C #2CB7C5 #C52CB7
tetradic
#B7C52C #2CC586 #3A2CC5 #C52C6B
square
#B7C52C #2CC586 #3A2CC5 #C52C6B
split-complementary
#B7C52C #2C6BC5 #862CC5
monochromatic
#5A6116 #899321 #B7C52C #CDD955 #DCE487
Accessibility & contrast
On white
1.90
#B7C52C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.04
#B7C52C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7C52C
11.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7C52C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7C52C | 1.00 | 1.90 | 11.04 | 11.04 |
| #FFFFFF | 1.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BB00
Deuteranopia (green-blind)
#D3BD3A
Tritanopia (blue-blind)
#C3B9A9
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #b7c52c; /* rgb */ color: rgb(183, 197, 44); /* oklch */ color: oklch(78.7% 0.166 115.0);
Tailwind
colors: {
custom: {
50: '#d0d673',
500: '#b7c52c',
950: '#000000',
},
}SCSS
$custom: #b7c52c; $custom-light: #d0d673; $custom-dark: #000000;
JSON
{
"hex": "#b7c52c",
"rgb": {
"r": 183,
"g": 197,
"b": 44
},
"hsl": {
"h": 65.49,
"s": 63.485,
"l": 47.255
},
"oklch": {
"l": 0.78687,
"c": 0.16578,
"h": 115
},
"luminance": 0.50182
}Semantic roles & 50–950 ramp
primary
#B7C52C
secondary
#30296C
accent
#41E750
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D