#2C7C16#2C7C16
#2C7C16 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.154 H 140.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7C16 |
|---|---|
| RGB | rgb(44, 124, 22) |
| HSL | hsl(107, 70%, 29%) |
| HSV | hsv(107, 82%, 49%) |
| CMYK | cmyk(64.5%, 0%, 82.3%, 51.4%) |
| CIE-LAB | lab(45.65, -43.08, 44.48) |
| CIE-LCH | lch(45.65, 61.92, 134.08°) |
| OKLab | oklab(51.73% -0.1182 0.0989) |
| OKLCH | oklch(51.73% 0.154 140.1) |
| XYZ | xyz(8.3908, 15.0079, 3.2135) |
| Luminance | 0.1501 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.77
Green
#008000
ΔE00 2.71
Dark Grass Green
#388004
ΔE00 2.85
Darkish Green
#287C37
ΔE00 5.29
Forestgreen (CSS)
#228B22
ΔE00 5.37
Emerald Green
#028F1E
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7C16 #66167C
analogous
#5F7C16 #2C7C16 #167C33
triadic
#2C7C16 #162C7C #7C162C
tetradic
#2C7C16 #165F7C #66167C #7C3316
square
#2C7C16 #165F7C #66167C #7C3316
split-complementary
#2C7C16 #33167C #7C165F
monochromatic
#091A05 #1A480D #2C7C16 #3EB01F #56DB32
Accessibility & contrast
On white
5.25
#2C7C16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#2C7C16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7C16
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7C16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7C16 | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#766A22
Tritanopia (blue-blind)
#207869
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2c7c16; /* rgb */ color: rgb(44, 124, 22); /* oklch */ color: oklch(51.7% 0.154 140.1);
Tailwind
colors: {
custom: {
50: '#71a35d',
500: '#2c7c16',
950: '#000000',
},
}SCSS
$custom: #2c7c16; $custom-light: #71a35d; $custom-dark: #000000;
JSON
{
"hex": "#2c7c16",
"rgb": {
"r": 44,
"g": 124,
"b": 22
},
"hsl": {
"h": 107.059,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.51725,
"c": 0.15414,
"h": 140.1
},
"luminance": 0.15009
}Semantic roles & 50–950 ramp
primary
#2C7C16
secondary
#983DB1
accent
#3BEDC6
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79