#2A671C#2A671C
#2A671C is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.7% C 0.125 H 140.2°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2A671C |
|---|---|
| RGB | rgb(42, 103, 28) |
| HSL | hsl(109, 57%, 26%) |
| HSV | hsv(109, 73%, 40%) |
| CMYK | cmyk(59.2%, 0%, 72.8%, 59.6%) |
| CIE-LAB | lab(38.33, -34.95, 34.89) |
| CIE-LCH | lch(38.33, 49.39, 135.05°) |
| OKLab | oklab(45.68% -0.0958 0.0798) |
| OKLCH | oklch(45.68% 0.125 140.2) |
| XYZ | xyz(6.0144, 10.2761, 2.7649) |
| Luminance | 0.1028 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.65
Deep Green
#02590F
ΔE00 5.34
Forest Green
#2D5A27
ΔE00 5.80
Forest
#0B5509
ΔE00 6.17
Pine
#2B5D34
ΔE00 7.56
Darkish Green
#287C37
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A671C #591C67
analogous
#4F671C #2A671C #1C6733
triadic
#2A671C #1C2A67 #671C2A
tetradic
#2A671C #1C4F67 #591C67 #67331C
square
#2A671C #1C4F67 #591C67 #67331C
split-complementary
#2A671C #331C67 #671C4F
monochromatic
#0A1807 #16370F #2A671C #3E9729 #51C736
Accessibility & contrast
On white
6.87
#2A671C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#2A671C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A671C
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A671C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A671C | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5D11
Deuteranopia (green-blind)
#625823
Tritanopia (blue-blind)
#236458
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2a671c; /* rgb */ color: rgb(42, 103, 28); /* oklch */ color: oklch(45.7% 0.125 140.2);
Tailwind
colors: {
custom: {
50: '#6b935d',
500: '#2a671c',
950: '#000000',
},
}SCSS
$custom: #2a671c; $custom-light: #6b935d; $custom-dark: #000000;
JSON
{
"hex": "#2a671c",
"rgb": {
"r": 42,
"g": 103,
"b": 28
},
"hsl": {
"h": 108.8,
"s": 57.252,
"l": 25.686
},
"oklch": {
"l": 0.45677,
"c": 0.12467,
"h": 140.2
},
"luminance": 0.10277
}Semantic roles & 50–950 ramp
primary
#2A671C
secondary
#8B439C
accent
#47E1C4
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79