#2A671B#2A671B
#2A671B is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.7% C 0.125 H 140.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2A671B |
|---|---|
| RGB | rgb(42, 103, 27) |
| HSL | hsl(108, 58%, 25%) |
| HSV | hsv(108, 74%, 40%) |
| CMYK | cmyk(59.2%, 0%, 73.8%, 59.6%) |
| CIE-LAB | lab(38.33, -35.04, 35.32) |
| CIE-LCH | lch(38.33, 49.76, 134.77°) |
| OKLab | oklab(45.67% -0.0961 0.0805) |
| OKLCH | oklch(45.67% 0.125 140.1) |
| XYZ | xyz(6.0027, 10.2714, 2.7029) |
| Luminance | 0.1027 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.57
Deep Green
#02590F
ΔE00 5.37
Forest Green
#2D5A27
ΔE00 5.90
Forest
#0B5509
ΔE00 6.18
Pine
#2B5D34
ΔE00 7.70
Navy Green
#35530A
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A671B #581B67
analogous
#50671B #2A671B #1B6732
triadic
#2A671B #1B2A67 #671B2A
tetradic
#2A671B #1B5067 #581B67 #67321B
square
#2A671B #1B5067 #581B67 #67321B
split-complementary
#2A671B #321B67 #671B50
monochromatic
#0A1806 #16370E #2A671B #3E9728 #52C834
Accessibility & contrast
On white
6.88
#2A671B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#2A671B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A671B
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A671B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A671B | 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)
#6A5D0F
Deuteranopia (green-blind)
#625822
Tritanopia (blue-blind)
#236358
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2a671b; /* rgb */ color: rgb(42, 103, 27); /* oklch */ color: oklch(45.7% 0.125 140.1);
Tailwind
colors: {
custom: {
50: '#6b935c',
500: '#2a671b',
950: '#000000',
},
}SCSS
$custom: #2a671b; $custom-light: #6b935c; $custom-dark: #000000;
JSON
{
"hex": "#2a671b",
"rgb": {
"r": 42,
"g": 103,
"b": 27
},
"hsl": {
"h": 108.158,
"s": 58.462,
"l": 25.49
},
"oklch": {
"l": 0.45668,
"c": 0.1254,
"h": 140.1
},
"luminance": 0.10272
}Semantic roles & 50–950 ramp
primary
#2A671B
secondary
#8A429C
accent
#46E2C3
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79