#2A511B#2A511B
#2A511B is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.3% C 0.094 H 138.0°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2A511B |
|---|---|
| RGB | rgb(42, 81, 27) |
| HSL | hsl(103, 50%, 21%) |
| HSV | hsv(103, 67%, 32%) |
| CMYK | cmyk(48.1%, 0%, 66.7%, 68.2%) |
| CIE-LAB | lab(30.53, -25.30, 26.88) |
| CIE-LCH | lch(30.53, 36.91, 133.26°) |
| OKLab | oklab(39.26% -0.0697 0.0627) |
| OKLCH | oklch(39.26% 0.094 138) |
| XYZ | xyz(4.0950, 6.4560, 2.0671) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.22
Navy Green
#35530A
ΔE00 4.56
Forrest Green
#154406
ΔE00 4.70
Forest
#0B5509
ΔE00 4.74
Darkgreen (survey)
#054907
ΔE00 4.76
British Racing Green
#05480D
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A511B #421B51
analogous
#45511B #2A511B #1B5127
triadic
#2A511B #1B2A51 #511B2A
tetradic
#2A511B #1B4551 #421B51 #51271B
square
#2A511B #1B4551 #421B51 #51271B
split-complementary
#2A511B #271B51 #511B45
monochromatic
#0C1708 #12230C #2A511B #427F2A #5AAD3A
Accessibility & contrast
On white
9.17
#2A511B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2A511B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A511B
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A511B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A511B | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544A15
Deuteranopia (green-blind)
#4E471F
Tritanopia (blue-blind)
#284E45
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2a511b; /* rgb */ color: rgb(42, 81, 27); /* oklch */ color: oklch(39.3% 0.094 138.0);
Tailwind
colors: {
custom: {
50: '#67825a',
500: '#2a511b',
950: '#000000',
},
}SCSS
$custom: #2a511b; $custom-light: #67825a; $custom-dark: #000000;
JSON
{
"hex": "#2a511b",
"rgb": {
"r": 42,
"g": 81,
"b": 27
},
"hsl": {
"h": 103.333,
"s": 50,
"l": 21.176
},
"oklch": {
"l": 0.39263,
"c": 0.09375,
"h": 138
},
"luminance": 0.06456
}Semantic roles & 50–950 ramp
primary
#2A511B
secondary
#734187
accent
#4EDAB3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A04
muted
#7A7C79