#2B7310#2B7310
#2B7310 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.147 H 139.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2B7310 |
|---|---|
| RGB | rgb(43, 115, 16) |
| HSL | hsl(104, 76%, 26%) |
| HSV | hsv(104, 86%, 45%) |
| CMYK | cmyk(62.6%, 0%, 86.1%, 54.9%) |
| CIE-LAB | lab(42.48, -40.30, 43.36) |
| CIE-LCH | lch(42.48, 59.20, 132.91°) |
| OKLab | oklab(49.09% -0.111 0.0957) |
| OKLCH | oklch(49.09% 0.147 139.3) |
| XYZ | xyz(7.2202, 12.8118, 2.5825) |
| Luminance | 0.1281 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.81
Green
#008000
ΔE00 5.00
Dark Grass Green
#388004
ΔE00 5.14
Darkgreen
#006400
ΔE00 5.67
Darkish Green
#287C37
ΔE00 6.16
Forestgreen (CSS)
#228B22
ΔE00 8.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B7310 #581073
analogous
#5C7310 #2B7310 #107326
triadic
#2B7310 #102B73 #73102B
tetradic
#2B7310 #105C73 #581073 #732610
square
#2B7310 #105C73 #581073 #732610
split-complementary
#2B7310 #261073 #73105C
monochromatic
#0A1B04 #173D09 #2B7310 #3FA917 #53DE1F
Accessibility & contrast
On white
5.89
#2B7310 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#2B7310 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B7310
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B7310 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B7310 | 1.00 | 5.89 | 3.56 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6E621D
Tritanopia (blue-blind)
#226F61
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2b7310; /* rgb */ color: rgb(43, 115, 16); /* oklch */ color: oklch(49.1% 0.147 139.3);
Tailwind
colors: {
custom: {
50: '#6f9c59',
500: '#2b7310',
950: '#000000',
},
}SCSS
$custom: #2b7310; $custom-light: #6f9c59; $custom-dark: #000000;
JSON
{
"hex": "#2b7310",
"rgb": {
"r": 43,
"g": 115,
"b": 16
},
"hsl": {
"h": 103.636,
"s": 75.573,
"l": 25.686
},
"oklch": {
"l": 0.49086,
"c": 0.14655,
"h": 139.3
},
"luminance": 0.12812
}Semantic roles & 50–950 ramp
primary
#2B7310
secondary
#8A34AA
accent
#36F2BF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79