#2A6331#2A6331
#2A6331 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.8% C 0.100 H 146.1°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6331 |
|---|---|
| RGB | rgb(42, 99, 49) |
| HSL | hsl(127, 40%, 28%) |
| HSV | hsv(127, 58%, 39%) |
| CMYK | cmyk(57.6%, 0%, 50.5%, 61.2%) |
| CIE-LAB | lab(37.18, -30.48, 22.80) |
| CIE-LCH | lch(37.18, 38.06, 143.20°) |
| OKLab | oklab(44.81% -0.0826 0.0555) |
| OKLCH | oklch(44.81% 0.1 146.1) |
| XYZ | xyz(5.9707, 9.6372, 4.4507) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.80
Forest Green
#2D5A27
ΔE00 3.37
Hunter Green
#355E3B
ΔE00 4.37
Spruce
#0A5F38
ΔE00 4.64
Deep Green
#02590F
ΔE00 6.23
Forest
#0B5509
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6331 #632A5C
analogous
#40632A #2A6331 #2A634D
triadic
#2A6331 #312A63 #63312A
tetradic
#2A6331 #2A4063 #632A5C #634D2A
square
#2A6331 #2A4063 #632A5C #634D2A
split-complementary
#2A6331 #4D2A63 #632A40
monochromatic
#09150B #18381C #2A6331 #3C8E46 #52B65E
Accessibility & contrast
On white
7.17
#2A6331 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#2A6331 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A6331
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6331 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6331 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645B2D
Deuteranopia (green-blind)
#5D5534
Tritanopia (blue-blind)
#1F6157
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2a6331; /* rgb */ color: rgb(42, 99, 49); /* oklch */ color: oklch(44.8% 0.100 146.1);
Tailwind
colors: {
custom: {
50: '#69906a',
500: '#2a6331',
950: '#000000',
},
}SCSS
$custom: #2a6331; $custom-light: #69906a; $custom-dark: #000000;
JSON
{
"hex": "#2a6331",
"rgb": {
"r": 42,
"g": 99,
"b": 49
},
"hsl": {
"h": 127.368,
"s": 40.426,
"l": 27.647
},
"oklch": {
"l": 0.44811,
"c": 0.09953,
"h": 146.1
},
"luminance": 0.09638
}Semantic roles & 50–950 ramp
primary
#2A6331
secondary
#95538D
accent
#58C1D0
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C06
muted
#7A7D7A