#2C7D1B#2C7D1B
#2C7D1B is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.153 H 140.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7D1B |
|---|---|
| RGB | rgb(44, 125, 27) |
| HSL | hsl(110, 64%, 30%) |
| HSV | hsv(110, 78%, 49%) |
| CMYK | cmyk(64.8%, 0%, 78.4%, 51%) |
| CIE-LAB | lab(46.02, -43.11, 43.12) |
| CIE-LCH | lch(46.02, 60.98, 134.99°) |
| OKLab | oklab(52.04% -0.118 0.0968) |
| OKLCH | oklch(52.04% 0.153 140.6) |
| XYZ | xyz(8.5697, 15.2810, 3.5346) |
| Luminance | 0.1528 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.45
Green
#008000
ΔE00 2.78
Dark Grass Green
#388004
ΔE00 3.10
Darkish Green
#287C37
ΔE00 4.80
Forestgreen (CSS)
#228B22
ΔE00 4.98
Emerald Green
#028F1E
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7D1B #6C1B7D
analogous
#5D7D1B #2C7D1B #1B7D3B
triadic
#2C7D1B #1B2C7D #7D1B2C
tetradic
#2C7D1B #1B5D7D #6C1B7D #7D3B1B
square
#2C7D1B #1B5D7D #6C1B7D #7D3B1B
split-complementary
#2C7D1B #3B1B7D #7D1B5D
monochromatic
#091905 #1A4B10 #2C7D1B #3EAF26 #58D53D
Accessibility & contrast
On white
5.18
#2C7D1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#2C7D1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7D1B
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7D1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7D1B | 1.00 | 5.18 | 4.06 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807105
Deuteranopia (green-blind)
#776A26
Tritanopia (blue-blind)
#1F796A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2c7d1b; /* rgb */ color: rgb(44, 125, 27); /* oklch */ color: oklch(52.0% 0.153 140.6);
Tailwind
colors: {
custom: {
50: '#71a35f',
500: '#2c7d1b',
950: '#000000',
},
}SCSS
$custom: #2c7d1b; $custom-light: #71a35f; $custom-dark: #000000;
JSON
{
"hex": "#2c7d1b",
"rgb": {
"r": 44,
"g": 125,
"b": 27
},
"hsl": {
"h": 109.592,
"s": 64.474,
"l": 29.804
},
"oklch": {
"l": 0.52042,
"c": 0.15266,
"h": 140.6
},
"luminance": 0.15282
}Semantic roles & 50–950 ramp
primary
#2C7D1B
secondary
#9E43B1
accent
#40E7CA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79