#2C7310#2C7310
#2C7310 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.146 H 139.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7310 |
|---|---|
| RGB | rgb(44, 115, 16) |
| HSL | hsl(103, 76%, 26%) |
| HSV | hsv(103, 86%, 45%) |
| CMYK | cmyk(61.7%, 0%, 86.1%, 54.9%) |
| CIE-LAB | lab(42.51, -40.03, 43.40) |
| CIE-LCH | lch(42.51, 59.05, 132.69°) |
| OKLab | oklab(49.12% -0.1104 0.0957) |
| OKLCH | oklch(49.12% 0.146 139.1) |
| XYZ | xyz(7.2627, 12.8337, 2.5845) |
| Luminance | 0.1283 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.82
Green
#008000
ΔE00 5.04
Dark Grass Green
#388004
ΔE00 5.09
Darkgreen
#006400
ΔE00 5.73
Darkish Green
#287C37
ΔE00 6.20
Forestgreen (CSS)
#228B22
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7310 #571073
analogous
#5D7310 #2C7310 #107325
triadic
#2C7310 #102C73 #73102C
tetradic
#2C7310 #105D73 #571073 #732510
square
#2C7310 #105D73 #571073 #732510
split-complementary
#2C7310 #251073 #73105D
monochromatic
#0A1B04 #173D09 #2C7310 #41A917 #55DE1F
Accessibility & contrast
On white
5.89
#2C7310 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#2C7310 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7310
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7310 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7310 | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6E621D
Tritanopia (blue-blind)
#246F61
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2c7310; /* rgb */ color: rgb(44, 115, 16); /* oklch */ color: oklch(49.1% 0.146 139.1);
Tailwind
colors: {
custom: {
50: '#6f9c59',
500: '#2c7310',
950: '#000000',
},
}SCSS
$custom: #2c7310; $custom-light: #6f9c59; $custom-dark: #000000;
JSON
{
"hex": "#2c7310",
"rgb": {
"r": 44,
"g": 115,
"b": 16
},
"hsl": {
"h": 103.03,
"s": 75.573,
"l": 25.686
},
"oklch": {
"l": 0.49123,
"c": 0.1461,
"h": 139.1
},
"luminance": 0.12834
}Semantic roles & 50–950 ramp
primary
#2C7310
secondary
#8934AA
accent
#36F2BD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79