#2C7E16#2C7E16
#2C7E16 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.157 H 140.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7E16 |
|---|---|
| RGB | rgb(44, 126, 22) |
| HSL | hsl(107, 70%, 29%) |
| HSV | hsv(107, 83%, 49%) |
| CMYK | cmyk(65.1%, 0%, 82.5%, 50.6%) |
| CIE-LAB | lab(46.33, -43.82, 45.12) |
| CIE-LCH | lch(46.33, 62.90, 134.16°) |
| OKLab | oklab(52.29% -0.1202 0.1002) |
| OKLCH | oklch(52.29% 0.157 140.2) |
| XYZ | xyz(8.6440, 15.5143, 3.2979) |
| Luminance | 0.1552 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.44
Green
#008000
ΔE00 2.41
Dark Grass Green
#388004
ΔE00 2.48
Forestgreen (CSS)
#228B22
ΔE00 4.70
Darkish Green
#287C37
ΔE00 5.45
Emerald Green
#028F1E
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7E16 #68167E
analogous
#607E16 #2C7E16 #167E34
triadic
#2C7E16 #162C7E #7E162C
tetradic
#2C7E16 #16607E #68167E #7E3416
square
#2C7E16 #16607E #68167E #7E3416
split-complementary
#2C7E16 #34167E #7E1660
monochromatic
#091A05 #1A4A0D #2C7E16 #3EB21F #57DB33
Accessibility & contrast
On white
5.12
#2C7E16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#2C7E16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7E16
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7E16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7E16 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786B23
Tritanopia (blue-blind)
#207A6B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2c7e16; /* rgb */ color: rgb(44, 126, 22); /* oklch */ color: oklch(52.3% 0.157 140.2);
Tailwind
colors: {
custom: {
50: '#71a45d',
500: '#2c7e16',
950: '#000000',
},
}SCSS
$custom: #2c7e16; $custom-light: #71a45d; $custom-dark: #000000;
JSON
{
"hex": "#2c7e16",
"rgb": {
"r": 44,
"g": 126,
"b": 22
},
"hsl": {
"h": 107.308,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.52293,
"c": 0.15652,
"h": 140.2
},
"luminance": 0.15515
}Semantic roles & 50–950 ramp
primary
#2C7E16
secondary
#9A3DB3
accent
#3BEDC7
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79