#2A671F#2A671F
#2A671F is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.7% C 0.122 H 140.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2A671F |
|---|---|
| RGB | rgb(42, 103, 31) |
| HSL | hsl(111, 54%, 26%) |
| HSV | hsv(111, 70%, 40%) |
| CMYK | cmyk(59.2%, 0%, 69.9%, 59.6%) |
| CIE-LAB | lab(38.36, -34.65, 33.56) |
| CIE-LCH | lch(38.36, 48.24, 135.91°) |
| OKLab | oklab(45.71% -0.0948 0.0774) |
| OKLCH | oklch(45.71% 0.122 140.8) |
| XYZ | xyz(6.0521, 10.2912, 2.9635) |
| Luminance | 0.1029 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.95
Deep Green
#02590F
ΔE00 5.31
Forest Green
#2D5A27
ΔE00 5.49
Forest
#0B5509
ΔE00 6.19
Pine
#2B5D34
ΔE00 7.11
Darkish Green
#287C37
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A671F #5C1F67
analogous
#4E671F #2A671F #1F6738
triadic
#2A671F #1F2A67 #671F2A
tetradic
#2A671F #1F4E67 #5C1F67 #67381F
square
#2A671F #1F4E67 #5C1F67 #67381F
split-complementary
#2A671F #381F67 #671F4E
monochromatic
#0A1807 #173811 #2A671F #3D962D #51C43C
Accessibility & contrast
On white
6.87
#2A671F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#2A671F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A671F
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A671F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A671F | 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)
#6A5D16
Deuteranopia (green-blind)
#625825
Tritanopia (blue-blind)
#226458
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2a671f; /* rgb */ color: rgb(42, 103, 31); /* oklch */ color: oklch(45.7% 0.122 140.8);
Tailwind
colors: {
custom: {
50: '#6b935e',
500: '#2a671f',
950: '#000000',
},
}SCSS
$custom: #2a671f; $custom-light: #6b935e; $custom-dark: #000000;
JSON
{
"hex": "#2a671f",
"rgb": {
"r": 42,
"g": 103,
"b": 31
},
"hsl": {
"h": 110.833,
"s": 53.731,
"l": 26.275
},
"oklch": {
"l": 0.45708,
"c": 0.12236,
"h": 140.8
},
"luminance": 0.10292
}Semantic roles & 50–950 ramp
primary
#2A671F
secondary
#8E469B
accent
#4BDDC7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79