#2A631C#2A631C
#2A631C is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.5% C 0.119 H 140.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2A631C |
|---|---|
| RGB | rgb(42, 99, 28) |
| HSL | hsl(108, 56%, 25%) |
| HSV | hsv(108, 72%, 39%) |
| CMYK | cmyk(57.6%, 0%, 71.7%, 61.2%) |
| CIE-LAB | lab(36.93, -33.28, 33.40) |
| CIE-LCH | lch(36.93, 47.15, 134.89°) |
| OKLab | oklab(44.52% -0.0913 0.0766) |
| OKLCH | oklch(44.52% 0.119 140) |
| XYZ | xyz(5.6260, 9.4993, 2.6355) |
| Luminance | 0.0950 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.92
Deep Green
#02590F
ΔE00 4.41
Forest Green
#2D5A27
ΔE00 4.56
Forest
#0B5509
ΔE00 5.09
Pine
#2B5D34
ΔE00 6.68
Navy Green
#35530A
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A631C #551C63
analogous
#4E631C #2A631C #1C6331
triadic
#2A631C #1C2A63 #631C2A
tetradic
#2A631C #1C4E63 #551C63 #63311C
square
#2A631C #1C4E63 #551C63 #63311C
split-complementary
#2A631C #311C63 #631C4E
monochromatic
#0A1807 #16330F #2A631C #3E9329 #52C237
Accessibility & contrast
On white
7.24
#2A631C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#2A631C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A631C
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A631C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A631C | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665A12
Deuteranopia (green-blind)
#5F5522
Tritanopia (blue-blind)
#246055
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2a631c; /* rgb */ color: rgb(42, 99, 28); /* oklch */ color: oklch(44.5% 0.119 140.0);
Tailwind
colors: {
custom: {
50: '#6a905c',
500: '#2a631c',
950: '#000000',
},
}SCSS
$custom: #2a631c; $custom-light: #6a905c; $custom-dark: #000000;
JSON
{
"hex": "#2a631c",
"rgb": {
"r": 42,
"g": 99,
"b": 28
},
"hsl": {
"h": 108.169,
"s": 55.906,
"l": 24.902
},
"oklch": {
"l": 0.44519,
"c": 0.11919,
"h": 140
},
"luminance": 0.095
}Semantic roles & 50–950 ramp
primary
#2A631C
secondary
#874398
accent
#49DFC2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79