#2B6018#2B6018
#2B6018 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.7% C 0.118 H 138.7°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2B6018 |
|---|---|
| RGB | rgb(43, 96, 24) |
| HSL | hsl(104, 60%, 24%) |
| HSV | hsv(104, 75%, 38%) |
| CMYK | cmyk(55.2%, 0%, 75%, 62.4%) |
| CIE-LAB | lab(35.88, -32.07, 34.09) |
| CIE-LCH | lch(35.88, 46.80, 133.25°) |
| OKLab | oklab(43.65% -0.0884 0.0775) |
| OKLCH | oklch(43.65% 0.118 138.7) |
| XYZ | xyz(5.3438, 8.9449, 2.3089) |
| Luminance | 0.0895 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 4.09
Darkgreen
#006400
ΔE00 4.15
Forest Green
#2D5A27
ΔE00 4.28
Forest
#0B5509
ΔE00 4.45
Navy Green
#35530A
ΔE00 5.61
Pine
#2B5D34
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B6018 #4D1860
analogous
#4F6018 #2B6018 #186029
triadic
#2B6018 #182B60 #60182B
tetradic
#2B6018 #184F60 #4D1860 #602918
square
#2B6018 #184F60 #4D1860 #602918
split-complementary
#2B6018 #291860 #60184F
monochromatic
#0B1806 #152F0C #2B6018 #419124 #57C230
Accessibility & contrast
On white
7.53
#2B6018 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#2B6018 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B6018
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B6018 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B6018 | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#63570D
Deuteranopia (green-blind)
#5C531F
Tritanopia (blue-blind)
#265D52
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2b6018; /* rgb */ color: rgb(43, 96, 24); /* oklch */ color: oklch(43.7% 0.118 138.7);
Tailwind
colors: {
custom: {
50: '#6a8e5a',
500: '#2b6018',
950: '#000000',
},
}SCSS
$custom: #2b6018; $custom-light: #6a8e5a; $custom-dark: #000000;
JSON
{
"hex": "#2b6018",
"rgb": {
"r": 43,
"g": 96,
"b": 24
},
"hsl": {
"h": 104.167,
"s": 60,
"l": 23.529
},
"oklch": {
"l": 0.43654,
"c": 0.11753,
"h": 138.7
},
"luminance": 0.08945
}Semantic roles & 50–950 ramp
primary
#2B6018
secondary
#7F3D96
accent
#45E3B9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79