#2B7B1E#2B7B1E
#2B7B1E is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.149 H 141.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2B7B1E |
|---|---|
| RGB | rgb(43, 123, 30) |
| HSL | hsl(112, 61%, 30%) |
| HSV | hsv(112, 76%, 48%) |
| CMYK | cmyk(65%, 0%, 75.6%, 51.8%) |
| CIE-LAB | lab(45.32, -42.37, 41.29) |
| CIE-LCH | lch(45.32, 59.16, 135.74°) |
| OKLab | oklab(51.46% -0.1158 0.0934) |
| OKLCH | oklch(51.46% 0.149 141.1) |
| XYZ | xyz(8.3131, 14.7724, 3.6413) |
| Luminance | 0.1477 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.31
Green
#008000
ΔE00 3.33
Dark Grass Green
#388004
ΔE00 3.89
Darkish Green
#287C37
ΔE00 4.24
Forestgreen (CSS)
#228B22
ΔE00 5.67
Emerald Green
#028F1E
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B7B1E #6E1E7B
analogous
#597B1E #2B7B1E #1E7B40
triadic
#2B7B1E #1E2B7B #7B1E2B
tetradic
#2B7B1E #1E597B #6E1E7B #7B401E
square
#2B7B1E #1E597B #6E1E7B #7B401E
split-complementary
#2B7B1E #401E7B #7B1E59
monochromatic
#091906 #1A4A12 #2B7B1E #3CAC2A #56D142
Accessibility & contrast
On white
5.31
#2B7B1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#2B7B1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B7B1E
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B7B1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B7B1E | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E6F0D
Deuteranopia (green-blind)
#756928
Tritanopia (blue-blind)
#1E7769
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #2b7b1e; /* rgb */ color: rgb(43, 123, 30); /* oklch */ color: oklch(51.5% 0.149 141.1);
Tailwind
colors: {
custom: {
50: '#6fa260',
500: '#2b7b1e',
950: '#000000',
},
}SCSS
$custom: #2b7b1e; $custom-light: #6fa260; $custom-dark: #000000;
JSON
{
"hex": "#2b7b1e",
"rgb": {
"r": 43,
"g": 123,
"b": 30
},
"hsl": {
"h": 111.613,
"s": 60.784,
"l": 30
},
"oklch": {
"l": 0.51464,
"c": 0.14879,
"h": 141.1
},
"luminance": 0.14773
}Semantic roles & 50–950 ramp
primary
#2B7B1E
secondary
#A046AE
accent
#44E4CE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79