#2A661B#2A661B
#2A661B is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.4% C 0.124 H 140.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2A661B |
|---|---|
| RGB | rgb(42, 102, 27) |
| HSL | hsl(108, 58%, 25%) |
| HSV | hsv(108, 74%, 40%) |
| CMYK | cmyk(58.8%, 0%, 73.5%, 60%) |
| CIE-LAB | lab(37.97, -34.63, 34.95) |
| CIE-LCH | lch(37.97, 49.20, 134.73°) |
| OKLab | oklab(45.38% -0.095 0.0798) |
| OKLCH | oklch(45.38% 0.124 140) |
| XYZ | xyz(5.9038, 10.0736, 2.6700) |
| Luminance | 0.1007 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.58
Deep Green
#02590F
ΔE00 5.11
Forest Green
#2D5A27
ΔE00 5.59
Forest
#0B5509
ΔE00 5.89
Navy Green
#35530A
ΔE00 7.44
Pine
#2B5D34
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A661B #571B66
analogous
#4F661B #2A661B #1B6631
triadic
#2A661B #1B2A66 #661B2A
tetradic
#2A661B #1B4F66 #571B66 #66311B
square
#2A661B #1B4F66 #571B66 #66311B
split-complementary
#2A661B #311B66 #661B4F
monochromatic
#0A1806 #16360E #2A661B #3E9628 #52C735
Accessibility & contrast
On white
6.97
#2A661B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#2A661B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A661B
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A661B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A661B | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695C10
Deuteranopia (green-blind)
#615722
Tritanopia (blue-blind)
#236357
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2a661b; /* rgb */ color: rgb(42, 102, 27); /* oklch */ color: oklch(45.4% 0.124 140.0);
Tailwind
colors: {
custom: {
50: '#6b925c',
500: '#2a661b',
950: '#000000',
},
}SCSS
$custom: #2a661b; $custom-light: #6b925c; $custom-dark: #000000;
JSON
{
"hex": "#2a661b",
"rgb": {
"r": 42,
"g": 102,
"b": 27
},
"hsl": {
"h": 108,
"s": 58.14,
"l": 25.294
},
"oklch": {
"l": 0.45378,
"c": 0.12405,
"h": 140
},
"luminance": 0.10074
}Semantic roles & 50–950 ramp
primary
#2A661B
secondary
#89419B
accent
#46E1C2
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79