#2A671E#2A671E
#2A671E is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.7% C 0.123 H 140.6°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2A671E |
|---|---|
| RGB | rgb(42, 103, 30) |
| HSL | hsl(110, 55%, 26%) |
| HSV | hsv(110, 71%, 40%) |
| CMYK | cmyk(59.2%, 0%, 70.9%, 59.6%) |
| CIE-LAB | lab(38.35, -34.75, 34.01) |
| CIE-LCH | lch(38.35, 48.63, 135.62°) |
| OKLab | oklab(45.7% -0.0951 0.0782) |
| OKLCH | oklch(45.7% 0.123 140.6) |
| XYZ | xyz(6.0392, 10.2860, 2.8952) |
| Luminance | 0.1029 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.84
Deep Green
#02590F
ΔE00 5.32
Forest Green
#2D5A27
ΔE00 5.59
Forest
#0B5509
ΔE00 6.18
Pine
#2B5D34
ΔE00 7.26
Darkish Green
#287C37
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A671E #5B1E67
analogous
#4E671E #2A671E #1E6736
triadic
#2A671E #1E2A67 #671E2A
tetradic
#2A671E #1E4E67 #5B1E67 #67361E
square
#2A671E #1E4E67 #5B1E67 #67361E
split-complementary
#2A671E #361E67 #671E4E
monochromatic
#0A1807 #173810 #2A671E #3D962C #51C63A
Accessibility & contrast
On white
6.87
#2A671E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#2A671E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A671E
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A671E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A671E | 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)
#6A5D14
Deuteranopia (green-blind)
#625825
Tritanopia (blue-blind)
#226458
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2a671e; /* rgb */ color: rgb(42, 103, 30); /* oklch */ color: oklch(45.7% 0.123 140.6);
Tailwind
colors: {
custom: {
50: '#6b935e',
500: '#2a671e',
950: '#000000',
},
}SCSS
$custom: #2a671e; $custom-light: #6b935e; $custom-dark: #000000;
JSON
{
"hex": "#2a671e",
"rgb": {
"r": 42,
"g": 103,
"b": 30
},
"hsl": {
"h": 110.137,
"s": 54.887,
"l": 26.078
},
"oklch": {
"l": 0.45697,
"c": 0.12315,
"h": 140.6
},
"luminance": 0.10286
}Semantic roles & 50–950 ramp
primary
#2A671E
secondary
#8D459C
accent
#4ADEC6
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79