#2A671D#2A671D
#2A671D is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.7% C 0.124 H 140.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2A671D |
|---|---|
| RGB | rgb(42, 103, 29) |
| HSL | hsl(109, 56%, 26%) |
| HSV | hsv(109, 72%, 40%) |
| CMYK | cmyk(59.2%, 0%, 71.8%, 59.6%) |
| CIE-LAB | lab(38.34, -34.85, 34.46) |
| CIE-LCH | lch(38.34, 49.01, 135.33°) |
| OKLab | oklab(45.69% -0.0955 0.079) |
| OKLCH | oklch(45.69% 0.124 140.4) |
| XYZ | xyz(6.0266, 10.2809, 2.8290) |
| Luminance | 0.1028 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.74
Deep Green
#02590F
ΔE00 5.33
Forest Green
#2D5A27
ΔE00 5.69
Forest
#0B5509
ΔE00 6.17
Pine
#2B5D34
ΔE00 7.41
Darkish Green
#287C37
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A671D #5A1D67
analogous
#4F671D #2A671D #1D6735
triadic
#2A671D #1D2A67 #671D2A
tetradic
#2A671D #1D4F67 #5A1D67 #67351D
square
#2A671D #1D4F67 #5A1D67 #67351D
split-complementary
#2A671D #351D67 #671D4F
monochromatic
#0A1807 #173710 #2A671D #3D972A #51C738
Accessibility & contrast
On white
6.87
#2A671D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#2A671D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A671D
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A671D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A671D | 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)
#6A5D13
Deuteranopia (green-blind)
#625824
Tritanopia (blue-blind)
#236458
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2a671d; /* rgb */ color: rgb(42, 103, 29); /* oklch */ color: oklch(45.7% 0.124 140.4);
Tailwind
colors: {
custom: {
50: '#6b935d',
500: '#2a671d',
950: '#000000',
},
}SCSS
$custom: #2a671d; $custom-light: #6b935d; $custom-dark: #000000;
JSON
{
"hex": "#2a671d",
"rgb": {
"r": 42,
"g": 103,
"b": 29
},
"hsl": {
"h": 109.459,
"s": 56.061,
"l": 25.882
},
"oklch": {
"l": 0.45687,
"c": 0.12392,
"h": 140.4
},
"luminance": 0.10281
}Semantic roles & 50–950 ramp
primary
#2A671D
secondary
#8C449C
accent
#48DFC5
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79