#2A6A22#2A6A22
#2A6A22 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.6% C 0.124 H 141.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6A22 |
|---|---|
| RGB | rgb(42, 106, 34) |
| HSL | hsl(113, 51%, 27%) |
| HSV | hsv(113, 68%, 42%) |
| CMYK | cmyk(60.4%, 0%, 67.9%, 58.4%) |
| CIE-LAB | lab(39.44, -35.57, 33.33) |
| CIE-LCH | lch(39.44, 48.75, 136.86°) |
| OKLab | oklab(46.61% -0.0971 0.0772) |
| OKLCH | oklch(46.61% 0.124 141.5) |
| XYZ | xyz(6.3973, 10.9152, 3.2828) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.35
Deep Green
#02590F
ΔE00 6.11
Forest Green
#2D5A27
ΔE00 6.22
Darkish Green
#287C37
ΔE00 6.49
Forest
#0B5509
ΔE00 7.09
Tree Green
#2A7E19
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6A22 #62226A
analogous
#4E6A22 #2A6A22 #226A3E
triadic
#2A6A22 #222A6A #6A222A
tetradic
#2A6A22 #224E6A #62226A #6A3E22
square
#2A6A22 #224E6A #62226A #6A3E22
split-complementary
#2A6A22 #3E226A #6A224E
monochromatic
#091707 #183C13 #2A6A22 #3C9831 #52C344
Accessibility & contrast
On white
6.60
#2A6A22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#2A6A22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A6A22
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6A22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6A22 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D6019
Deuteranopia (green-blind)
#655B28
Tritanopia (blue-blind)
#21675B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2a6a22; /* rgb */ color: rgb(42, 106, 34); /* oklch */ color: oklch(46.6% 0.124 141.5);
Tailwind
colors: {
custom: {
50: '#6b9561',
500: '#2a6a22',
950: '#000000',
},
}SCSS
$custom: #2a6a22; $custom-light: #6b9561; $custom-dark: #000000;
JSON
{
"hex": "#2a6a22",
"rgb": {
"r": 42,
"g": 106,
"b": 34
},
"hsl": {
"h": 113.333,
"s": 51.429,
"l": 27.451
},
"oklch": {
"l": 0.46605,
"c": 0.12407,
"h": 141.5
},
"luminance": 0.10916
}Semantic roles & 50–950 ramp
primary
#2A6A22
secondary
#944A9E
accent
#4DDBCB
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070D05
muted
#7A7E79