#2A6C22#2A6C22
#2A6C22 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.2% C 0.127 H 141.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6C22 |
|---|---|
| RGB | rgb(42, 108, 34) |
| HSL | hsl(114, 52%, 28%) |
| HSV | hsv(114, 69%, 42%) |
| CMYK | cmyk(61.1%, 0%, 68.5%, 57.6%) |
| CIE-LAB | lab(40.13, -36.39, 34.10) |
| CIE-LCH | lch(40.13, 49.87, 136.86°) |
| OKLab | oklab(47.18% -0.0993 0.0789) |
| OKLCH | oklch(47.18% 0.127 141.5) |
| XYZ | xyz(6.6058, 11.3323, 3.3523) |
| Luminance | 0.1133 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.52
Darkish Green
#287C37
ΔE00 5.93
Deep Green
#02590F
ΔE00 6.67
Tree Green
#2A7E19
ΔE00 6.74
Forest Green
#2D5A27
ΔE00 6.91
Forest
#0B5509
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6C22 #64226C
analogous
#4F6C22 #2A6C22 #226C3F
triadic
#2A6C22 #222A6C #6C222A
tetradic
#2A6C22 #224F6C #64226C #6C3F22
square
#2A6C22 #224F6C #64226C #6C3F22
split-complementary
#2A6C22 #3F226C #6C224F
monochromatic
#091707 #183D13 #2A6C22 #3C9B31 #52C444
Accessibility & contrast
On white
6.43
#2A6C22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#2A6C22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A6C22
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6C22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6C22 | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F6219
Deuteranopia (green-blind)
#665C28
Tritanopia (blue-blind)
#20695D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2a6c22; /* rgb */ color: rgb(42, 108, 34); /* oklch */ color: oklch(47.2% 0.127 141.5);
Tailwind
colors: {
custom: {
50: '#6c9761',
500: '#2a6c22',
950: '#000000',
},
}SCSS
$custom: #2a6c22; $custom-light: #6c9761; $custom-dark: #000000;
JSON
{
"hex": "#2a6c22",
"rgb": {
"r": 42,
"g": 108,
"b": 34
},
"hsl": {
"h": 113.514,
"s": 52.113,
"l": 27.843
},
"oklch": {
"l": 0.4718,
"c": 0.12683,
"h": 141.5
},
"luminance": 0.11333
}Semantic roles & 50–950 ramp
primary
#2A6C22
secondary
#964AA0
accent
#4CDCCC
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070D05
muted
#7A7E79