#2B7E1F#2B7E1F
#2B7E1F is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.152 H 141.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2B7E1F |
|---|---|
| RGB | rgb(43, 126, 31) |
| HSL | hsl(112, 61%, 31%) |
| HSV | hsv(112, 75%, 49%) |
| CMYK | cmyk(65.9%, 0%, 75.4%, 50.6%) |
| CIE-LAB | lab(46.36, -43.41, 41.95) |
| CIE-LCH | lch(46.36, 60.36, 135.98°) |
| OKLab | oklab(52.32% -0.1186 0.0949) |
| OKLCH | oklch(52.32% 0.152 141.3) |
| XYZ | xyz(8.7040, 15.5334, 3.8356) |
| Luminance | 0.1553 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.70
Green
#008000
ΔE00 2.89
Dark Grass Green
#388004
ΔE00 3.46
Darkish Green
#287C37
ΔE00 4.37
Forestgreen (CSS)
#228B22
ΔE00 4.62
Emerald Green
#028F1E
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B7E1F #721F7E
analogous
#5A7E1F #2B7E1F #1F7E42
triadic
#2B7E1F #1F2B7E #7E1F2B
tetradic
#2B7E1F #1F5A7E #721F7E #7E421F
square
#2B7E1F #1F5A7E #721F7E #7E421F
split-complementary
#2B7E1F #421F7E #7E1F5A
monochromatic
#091C07 #1A4D13 #2B7E1F #3CAF2B #58D146
Accessibility & contrast
On white
5.11
#2B7E1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#2B7E1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B7E1F
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B7E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B7E1F | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81720E
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#1C7A6C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2b7e1f; /* rgb */ color: rgb(43, 126, 31); /* oklch */ color: oklch(52.3% 0.152 141.3);
Tailwind
colors: {
custom: {
50: '#70a461',
500: '#2b7e1f',
950: '#000000',
},
}SCSS
$custom: #2b7e1f; $custom-light: #70a461; $custom-dark: #000000;
JSON
{
"hex": "#2b7e1f",
"rgb": {
"r": 43,
"g": 126,
"b": 31
},
"hsl": {
"h": 112.421,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.52323,
"c": 0.15189,
"h": 141.3
},
"luminance": 0.15534
}Semantic roles & 50–950 ramp
primary
#2B7E1F
secondary
#A448B1
accent
#44E4CF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79