#2B511C#2B511C
#2B511C is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.3% C 0.092 H 137.9°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2B511C |
|---|---|
| RGB | rgb(43, 81, 28) |
| HSL | hsl(103, 49%, 21%) |
| HSV | hsv(103, 65%, 32%) |
| CMYK | cmyk(46.9%, 0%, 65.4%, 68.2%) |
| CIE-LAB | lab(30.60, -24.81, 26.44) |
| CIE-LCH | lch(30.60, 36.26, 133.18°) |
| OKLab | oklab(39.33% -0.0684 0.0619) |
| OKLCH | oklch(39.33% 0.092 137.9) |
| XYZ | xyz(4.1482, 6.4820, 2.1310) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.19
Navy Green
#35530A
ΔE00 4.62
Forrest Green
#154406
ΔE00 4.83
British Racing Green
#05480D
ΔE00 4.94
Darkgreen (survey)
#054907
ΔE00 4.96
Forest
#0B5509
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B511C #421C51
analogous
#46511C #2B511C #1C5128
triadic
#2B511C #1C2B51 #511C2B
tetradic
#2B511C #1C4651 #421C51 #51281C
square
#2B511C #1C4651 #421C51 #51281C
split-complementary
#2B511C #281C51 #511C46
monochromatic
#0C1708 #13240C #2B511C #437E2C #5BAC3B
Accessibility & contrast
On white
9.14
#2B511C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2B511C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B511C
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B511C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B511C | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544A16
Deuteranopia (green-blind)
#4E4720
Tritanopia (blue-blind)
#294E46
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2b511c; /* rgb */ color: rgb(43, 81, 28); /* oklch */ color: oklch(39.3% 0.092 137.9);
Tailwind
colors: {
custom: {
50: '#68825a',
500: '#2b511c',
950: '#000000',
},
}SCSS
$custom: #2b511c; $custom-light: #68825a; $custom-dark: #000000;
JSON
{
"hex": "#2b511c",
"rgb": {
"r": 43,
"g": 81,
"b": 28
},
"hsl": {
"h": 103.019,
"s": 48.624,
"l": 21.373
},
"oklch": {
"l": 0.39332,
"c": 0.0922,
"h": 137.9
},
"luminance": 0.06482
}Semantic roles & 50–950 ramp
primary
#2B511C
secondary
#734287
accent
#50D8B2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A04
muted
#7A7C79