#2C6539#2C6539
#2C6539 is a mid, moderate green. Relative luminance 0.101; OKLCH L 45.6% C 0.093 H 149.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2C6539 |
|---|---|
| RGB | rgb(44, 101, 57) |
| HSL | hsl(134, 39%, 28%) |
| HSV | hsv(134, 56%, 40%) |
| CMYK | cmyk(56.4%, 0%, 43.6%, 60.4%) |
| CIE-LAB | lab(38.09, -29.40, 19.38) |
| CIE-LCH | lch(38.09, 35.21, 146.61°) |
| OKLab | oklab(45.62% -0.0797 0.048) |
| OKLCH | oklch(45.62% 0.093 149) |
| XYZ | xyz(6.4305, 10.1377, 5.4880) |
| Luminance | 0.1014 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.69
Hunter Green
#355E3B
ΔE00 3.60
Spruce
#0A5F38
ΔE00 3.98
Forest Green
#2D5A27
ΔE00 4.69
Deep Green
#02590F
ΔE00 7.88
Forest
#0B5509
ΔE00 8.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C6539 #652C58
analogous
#3B652C #2C6539 #2C6555
triadic
#2C6539 #392C65 #65392C
tetradic
#2C6539 #2C3B65 #652C58 #65552C
square
#2C6539 #2C3B65 #652C58 #65552C
split-complementary
#2C6539 #552C65 #652C3B
monochromatic
#09150C #193A21 #2C6539 #3F9051 #56B56C
Accessibility & contrast
On white
6.94
#2C6539 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#2C6539 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C6539
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C6539 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C6539 | 1.00 | 6.94 | 3.03 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665D36
Deuteranopia (green-blind)
#5E583C
Tritanopia (blue-blind)
#20635A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2c6539; /* rgb */ color: rgb(44, 101, 57); /* oklch */ color: oklch(45.6% 0.093 149.0);
Tailwind
colors: {
custom: {
50: '#6a9170',
500: '#2c6539',
950: '#000000',
},
}SCSS
$custom: #2c6539; $custom-light: #6a9170; $custom-dark: #000000;
JSON
{
"hex": "#2c6539",
"rgb": {
"r": 44,
"g": 101,
"b": 57
},
"hsl": {
"h": 133.684,
"s": 39.31,
"l": 28.431
},
"oklch": {
"l": 0.45619,
"c": 0.09302,
"h": 149
},
"luminance": 0.10138
}Semantic roles & 50–950 ramp
primary
#2C6539
secondary
#975688
accent
#59B4CF
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#070D07
muted
#7A7E7A