#2A6F22#2A6F22
#2A6F22 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.131 H 141.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6F22 |
|---|---|
| RGB | rgb(42, 111, 34) |
| HSL | hsl(114, 53%, 28%) |
| HSV | hsv(114, 69%, 44%) |
| CMYK | cmyk(62.2%, 0%, 69.4%, 56.5%) |
| CIE-LAB | lab(41.18, -37.60, 35.24) |
| CIE-LCH | lch(41.18, 51.53, 136.86°) |
| OKLab | oklab(48.04% -0.1026 0.0813) |
| OKLCH | oklch(48.04% 0.131 141.6) |
| XYZ | xyz(6.9277, 11.9760, 3.4596) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.98
Darkish Green
#287C37
ΔE00 5.15
Tree Green
#2A7E19
ΔE00 5.70
Green
#008000
ΔE00 7.15
Deep Green
#02590F
ΔE00 7.57
Dark Grass Green
#388004
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6F22 #67226F
analogous
#506F22 #2A6F22 #226F40
triadic
#2A6F22 #222A6F #6F222A
tetradic
#2A6F22 #22506F #67226F #6F4022
square
#2A6F22 #22506F #67226F #6F4022
split-complementary
#2A6F22 #40226F #6F2250
monochromatic
#091707 #184014 #2A6F22 #3C9E30 #53C645
Accessibility & contrast
On white
6.18
#2A6F22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#2A6F22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A6F22
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6F22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6F22 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726518
Deuteranopia (green-blind)
#695F29
Tritanopia (blue-blind)
#1F6C5F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2a6f22; /* rgb */ color: rgb(42, 111, 34); /* oklch */ color: oklch(48.0% 0.131 141.6);
Tailwind
colors: {
custom: {
50: '#6c9961',
500: '#2a6f22',
950: '#000000',
},
}SCSS
$custom: #2a6f22; $custom-light: #6c9961; $custom-dark: #000000;
JSON
{
"hex": "#2a6f22",
"rgb": {
"r": 42,
"g": 111,
"b": 34
},
"hsl": {
"h": 113.766,
"s": 53.103,
"l": 28.431
},
"oklch": {
"l": 0.48041,
"c": 0.13089,
"h": 141.6
},
"luminance": 0.11977
}Semantic roles & 50–950 ramp
primary
#2A6F22
secondary
#994AA2
accent
#4BDDCD
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79