#2A6F2F#2A6F2F
#2A6F2F is a mid, moderate green. Relative luminance 0.121; OKLCH L 48.2% C 0.120 H 144.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6F2F |
|---|---|
| RGB | rgb(42, 111, 47) |
| HSL | hsl(124, 45%, 30%) |
| HSV | hsv(124, 62%, 44%) |
| CMYK | cmyk(62.2%, 0%, 57.7%, 56.5%) |
| CIE-LAB | lab(41.32, -35.98, 28.97) |
| CIE-LCH | lch(41.32, 46.19, 141.17°) |
| OKLab | oklab(48.21% -0.0975 0.0691) |
| OKLCH | oklch(48.21% 0.12 144.7) |
| XYZ | xyz(7.1519, 12.0657, 4.6408) |
| Luminance | 0.1207 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.49
Darkgreen
#006400
ΔE00 6.47
Tree Green
#2A7E19
ΔE00 7.13
Forest Green
#2D5A27
ΔE00 7.23
Jungle Green
#048243
ΔE00 7.24
Pine
#2B5D34
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6F2F #6F2A6A
analogous
#476F2A #2A6F2F #2A6F52
triadic
#2A6F2F #2F2A6F #6F2F2A
tetradic
#2A6F2F #2A476F #6F2A6A #6F522A
square
#2A6F2F #2A476F #6F2A6A #6F522A
split-complementary
#2A6F2F #522A6F #6F2A47
monochromatic
#081609 #19431C #2A6F2F #3B9B42 #55BF5C
Accessibility & contrast
On white
6.15
#2A6F2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#2A6F2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A6F2F
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6F2F | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716529
Deuteranopia (green-blind)
#685F34
Tritanopia (blue-blind)
#1C6C61
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2a6f2f; /* rgb */ color: rgb(42, 111, 47); /* oklch */ color: oklch(48.2% 0.120 144.7);
Tailwind
colors: {
custom: {
50: '#6c9969',
500: '#2a6f2f',
950: '#000000',
},
}SCSS
$custom: #2a6f2f; $custom-light: #6c9969; $custom-dark: #000000;
JSON
{
"hex": "#2a6f2f",
"rgb": {
"r": 42,
"g": 111,
"b": 47
},
"hsl": {
"h": 124.348,
"s": 45.098,
"l": 30
},
"oklch": {
"l": 0.48205,
"c": 0.11953,
"h": 144.7
},
"luminance": 0.12066
}Semantic roles & 50–950 ramp
primary
#2A6F2F
secondary
#A1549B
accent
#53CBD5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A