#2A671A#2A671A
#2A671A is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.7% C 0.126 H 139.9°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2A671A |
|---|---|
| RGB | rgb(42, 103, 26) |
| HSL | hsl(108, 60%, 25%) |
| HSV | hsv(108, 75%, 40%) |
| CMYK | cmyk(59.2%, 0%, 74.8%, 59.6%) |
| CIE-LAB | lab(38.32, -35.14, 35.74) |
| CIE-LCH | lch(38.32, 50.12, 134.51°) |
| OKLab | oklab(45.66% -0.0964 0.0813) |
| OKLCH | oklch(45.66% 0.126 139.9) |
| XYZ | xyz(5.9913, 10.2668, 2.6431) |
| Luminance | 0.1027 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.49
Deep Green
#02590F
ΔE00 5.39
Forest Green
#2D5A27
ΔE00 6.00
Forest
#0B5509
ΔE00 6.19
Navy Green
#35530A
ΔE00 7.69
Camouflage Green
#4B6113
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A671A #571A67
analogous
#51671A #2A671A #1A6730
triadic
#2A671A #1A2A67 #671A2A
tetradic
#2A671A #1A5167 #571A67 #67301A
square
#2A671A #1A5167 #571A67 #67301A
split-complementary
#2A671A #301A67 #671A51
monochromatic
#0A1806 #16360E #2A671A #3E9826 #52C933
Accessibility & contrast
On white
6.88
#2A671A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#2A671A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A671A
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A671A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A671A | 1.00 | 6.88 | 3.05 | 6.88 |
| #FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5D0E
Deuteranopia (green-blind)
#625821
Tritanopia (blue-blind)
#236358
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2a671a; /* rgb */ color: rgb(42, 103, 26); /* oklch */ color: oklch(45.7% 0.126 139.9);
Tailwind
colors: {
custom: {
50: '#6b935c',
500: '#2a671a',
950: '#000000',
},
}SCSS
$custom: #2a671a; $custom-light: #6b935c; $custom-dark: #000000;
JSON
{
"hex": "#2a671a",
"rgb": {
"r": 42,
"g": 103,
"b": 26
},
"hsl": {
"h": 107.532,
"s": 59.69,
"l": 25.294
},
"oklch": {
"l": 0.45658,
"c": 0.12612,
"h": 139.9
},
"luminance": 0.10267
}Semantic roles & 50–950 ramp
primary
#2A671A
secondary
#89409D
accent
#45E3C2
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79