#2B7C1F#2B7C1F
#2B7C1F is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.149 H 141.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2B7C1F |
|---|---|
| RGB | rgb(43, 124, 31) |
| HSL | hsl(112, 60%, 30%) |
| HSV | hsv(112, 75%, 49%) |
| CMYK | cmyk(65.3%, 0%, 75%, 51.4%) |
| CIE-LAB | lab(45.67, -42.66, 41.25) |
| CIE-LCH | lch(45.67, 59.34, 135.96°) |
| OKLab | oklab(51.76% -0.1165 0.0935) |
| OKLCH | oklch(51.76% 0.149 141.3) |
| XYZ | xyz(8.4508, 15.0270, 3.7512) |
| Luminance | 0.1503 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.10
Green
#008000
ΔE00 3.21
Dark Grass Green
#388004
ΔE00 3.79
Darkish Green
#287C37
ΔE00 4.17
Forestgreen (CSS)
#228B22
ΔE00 5.33
Emerald Green
#028F1E
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B7C1F #701F7C
analogous
#597C1F #2B7C1F #1F7C41
triadic
#2B7C1F #1F2B7C #7C1F2B
tetradic
#2B7C1F #1F597C #701F7C #7C411F
square
#2B7C1F #1F597C #701F7C #7C411F
split-complementary
#2B7C1F #411F7C #7C1F59
monochromatic
#091A07 #1A4B13 #2B7C1F #3CAD2B #57D045
Accessibility & contrast
On white
5.24
#2B7C1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#2B7C1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B7C1F
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B7C1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B7C1F | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F700F
Deuteranopia (green-blind)
#756A28
Tritanopia (blue-blind)
#1D786A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2b7c1f; /* rgb */ color: rgb(43, 124, 31); /* oklch */ color: oklch(51.8% 0.149 141.3);
Tailwind
colors: {
custom: {
50: '#70a361',
500: '#2b7c1f',
950: '#000000',
},
}SCSS
$custom: #2b7c1f; $custom-light: #70a361; $custom-dark: #000000;
JSON
{
"hex": "#2b7c1f",
"rgb": {
"r": 43,
"g": 124,
"b": 31
},
"hsl": {
"h": 112.258,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.51756,
"c": 0.1494,
"h": 141.3
},
"luminance": 0.15028
}Semantic roles & 50–950 ramp
primary
#2B7C1F
secondary
#A248AF
accent
#45E3CF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79