#2A511C#2A511C
#2A511C is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.3% C 0.093 H 138.3°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2A511C |
|---|---|
| RGB | rgb(42, 81, 28) |
| HSL | hsl(104, 49%, 21%) |
| HSV | hsv(104, 65%, 32%) |
| CMYK | cmyk(48.1%, 0%, 65.4%, 68.2%) |
| CIE-LAB | lab(30.55, -25.18, 26.37) |
| CIE-LCH | lch(30.55, 36.46, 133.68°) |
| OKLab | oklab(39.28% -0.0693 0.0617) |
| OKLCH | oklch(39.28% 0.093 138.3) |
| XYZ | xyz(4.1067, 6.4607, 2.1290) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.13
Navy Green
#35530A
ΔE00 4.76
Forrest Green
#154406
ΔE00 4.76
British Racing Green
#05480D
ΔE00 4.79
Darkgreen (survey)
#054907
ΔE00 4.82
Forest
#0B5509
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A511C #431C51
analogous
#45511C #2A511C #1C5129
triadic
#2A511C #1C2A51 #511C2A
tetradic
#2A511C #1C4551 #431C51 #51291C
square
#2A511C #1C4551 #431C51 #51291C
split-complementary
#2A511C #291C51 #511C45
monochromatic
#0C1708 #12240C #2A511C #427E2C #59AC3B
Accessibility & contrast
On white
9.16
#2A511C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2A511C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A511C
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A511C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A511C | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544A16
Deuteranopia (green-blind)
#4E4720
Tritanopia (blue-blind)
#274E46
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2a511c; /* rgb */ color: rgb(42, 81, 28); /* oklch */ color: oklch(39.3% 0.093 138.3);
Tailwind
colors: {
custom: {
50: '#67825a',
500: '#2a511c',
950: '#000000',
},
}SCSS
$custom: #2a511c; $custom-light: #67825a; $custom-dark: #000000;
JSON
{
"hex": "#2a511c",
"rgb": {
"r": 42,
"g": 81,
"b": 28
},
"hsl": {
"h": 104.151,
"s": 48.624,
"l": 21.373
},
"oklch": {
"l": 0.39276,
"c": 0.0928,
"h": 138.3
},
"luminance": 0.06461
}Semantic roles & 50–950 ramp
primary
#2A511C
secondary
#754287
accent
#50D8B4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A04
muted
#7A7C79