#2A5915#2A5915
#2A5915 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.111 H 137.8°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5915 |
|---|---|
| RGB | rgb(42, 89, 21) |
| HSL | hsl(101, 62%, 22%) |
| HSV | hsv(101, 76%, 35%) |
| CMYK | cmyk(52.8%, 0%, 76.4%, 65.1%) |
| CIE-LAB | lab(33.33, -29.60, 32.74) |
| CIE-LCH | lch(33.33, 44.14, 132.11°) |
| OKLab | oklab(41.54% -0.0818 0.0742) |
| OKLCH | oklch(41.54% 0.111 137.8) |
| XYZ | xyz(4.6624, 7.6908, 1.9481) |
| Luminance | 0.0769 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 3.40
Forest Green
#2D5A27
ΔE00 3.52
Deep Green
#02590F
ΔE00 3.80
Navy Green
#35530A
ΔE00 3.98
Darkgreen
#006400
ΔE00 5.63
Bottle Green
#044A05
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5915 #441559
analogous
#4C5915 #2A5915 #155922
triadic
#2A5915 #152A59 #59152A
tetradic
#2A5915 #154C59 #441559 #592215
square
#2A5915 #154C59 #441559 #592215
split-complementary
#2A5915 #221559 #59154C
monochromatic
#0C1906 #132709 #2A5915 #418B21 #59BC2C
Accessibility & contrast
On white
8.27
#2A5915 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2A5915 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5915
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5915 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5915 | 1.00 | 8.27 | 2.54 | 8.27 |
| #FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C510A
Deuteranopia (green-blind)
#564D1B
Tritanopia (blue-blind)
#27564C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2a5915; /* rgb */ color: rgb(42, 89, 21); /* oklch */ color: oklch(41.5% 0.111 137.8);
Tailwind
colors: {
custom: {
50: '#698857',
500: '#2a5915',
950: '#000000',
},
}SCSS
$custom: #2a5915; $custom-light: #698857; $custom-dark: #000000;
JSON
{
"hex": "#2a5915",
"rgb": {
"r": 42,
"g": 89,
"b": 21
},
"hsl": {
"h": 101.471,
"s": 61.818,
"l": 21.569
},
"oklch": {
"l": 0.41539,
"c": 0.1105,
"h": 137.8
},
"luminance": 0.07691
}Semantic roles & 50–950 ramp
primary
#2A5915
secondary
#763991
accent
#43E5B3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78