#2D511C#2D511C
#2D511C is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.4% C 0.091 H 136.9°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2D511C |
|---|---|
| RGB | rgb(45, 81, 28) |
| HSL | hsl(101, 49%, 21%) |
| HSV | hsv(101, 65%, 32%) |
| CMYK | cmyk(44.4%, 0%, 65.4%, 68.2%) |
| CIE-LAB | lab(30.70, -24.06, 26.59) |
| CIE-LCH | lch(30.70, 35.86, 132.14°) |
| OKLab | oklab(39.45% -0.0665 0.0622) |
| OKLCH | oklch(39.45% 0.091 136.9) |
| XYZ | xyz(4.2341, 6.5264, 2.1350) |
| Luminance | 0.0653 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.34
Navy Green
#35530A
ΔE00 4.34
Forrest Green
#154406
ΔE00 4.99
Forest
#0B5509
ΔE00 5.25
Darkgreen (survey)
#054907
ΔE00 5.26
British Racing Green
#05480D
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D511C #401C51
analogous
#48511C #2D511C #1C5126
triadic
#2D511C #1C2D51 #511C2D
tetradic
#2D511C #1C4851 #401C51 #51261C
square
#2D511C #1C4851 #401C51 #51261C
split-complementary
#2D511C #261C51 #511C48
monochromatic
#0D1708 #14240C #2D511C #467E2C #60AC3B
Accessibility & contrast
On white
9.11
#2D511C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2D511C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D511C
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D511C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D511C | 1.00 | 9.11 | 2.31 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544A16
Deuteranopia (green-blind)
#4F4720
Tritanopia (blue-blind)
#2B4E46
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2d511c; /* rgb */ color: rgb(45, 81, 28); /* oklch */ color: oklch(39.4% 0.091 136.9);
Tailwind
colors: {
custom: {
50: '#69825a',
500: '#2d511c',
950: '#000000',
},
}SCSS
$custom: #2d511c; $custom-light: #69825a; $custom-dark: #000000;
JSON
{
"hex": "#2d511c",
"rgb": {
"r": 45,
"g": 81,
"b": 28
},
"hsl": {
"h": 100.755,
"s": 48.624,
"l": 21.373
},
"oklch": {
"l": 0.39447,
"c": 0.091,
"h": 136.9
},
"luminance": 0.06527
}Semantic roles & 50–950 ramp
primary
#2D511C
secondary
#714287
accent
#50D8AC
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79