#2A531E#2A531E
#2A531E is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.9% C 0.094 H 139.1°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2A531E |
|---|---|
| RGB | rgb(42, 83, 30) |
| HSL | hsl(106, 47%, 22%) |
| HSV | hsv(106, 64%, 33%) |
| CMYK | cmyk(49.4%, 0%, 63.9%, 67.5%) |
| CIE-LAB | lab(31.28, -25.89, 26.16) |
| CIE-LCH | lch(31.28, 36.80, 134.70°) |
| OKLab | oklab(39.89% -0.0711 0.0615) |
| OKLCH | oklch(39.89% 0.094 139.1) |
| XYZ | xyz(4.2823, 6.7722, 2.3096) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.45
Forest
#0B5509
ΔE00 4.65
Navy Green
#35530A
ΔE00 4.99
British Racing Green
#05480D
ΔE00 5.02
Darkgreen (survey)
#054907
ΔE00 5.06
Bottle Green
#044A05
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A531E #471E53
analogous
#45531E #2A531E #1E532D
triadic
#2A531E #1E2A53 #531E2A
tetradic
#2A531E #1E4553 #471E53 #532D1E
square
#2A531E #1E4553 #471E53 #532D1E
split-complementary
#2A531E #2D1E53 #531E45
monochromatic
#0B1608 #13260E #2A531E #41802E #57AD3E
Accessibility & contrast
On white
8.92
#2A531E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2A531E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A531E
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A531E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A531E | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554C18
Deuteranopia (green-blind)
#504822
Tritanopia (blue-blind)
#275047
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2a531e; /* rgb */ color: rgb(42, 83, 30); /* oklch */ color: oklch(39.9% 0.094 139.1);
Tailwind
colors: {
custom: {
50: '#67845c',
500: '#2a531e',
950: '#000000',
},
}SCSS
$custom: #2a531e; $custom-light: #67845c; $custom-dark: #000000;
JSON
{
"hex": "#2a531e",
"rgb": {
"r": 42,
"g": 83,
"b": 30
},
"hsl": {
"h": 106.415,
"s": 46.903,
"l": 22.157
},
"oklch": {
"l": 0.39887,
"c": 0.09399,
"h": 139.1
},
"luminance": 0.06772
}Semantic roles & 50–950 ramp
primary
#2A531E
secondary
#794588
accent
#51D7B8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79