#2B671F#2B671F
#2B671F is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.7% C 0.122 H 140.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2B671F |
|---|---|
| RGB | rgb(43, 103, 31) |
| HSL | hsl(110, 54%, 26%) |
| HSV | hsv(110, 70%, 40%) |
| CMYK | cmyk(58.3%, 0%, 69.9%, 59.6%) |
| CIE-LAB | lab(38.40, -34.36, 33.61) |
| CIE-LCH | lch(38.40, 48.07, 135.62°) |
| OKLab | oklab(45.75% -0.0941 0.0775) |
| OKLCH | oklch(45.75% 0.122 140.5) |
| XYZ | xyz(6.0936, 10.3125, 2.9655) |
| Luminance | 0.1031 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.01
Deep Green
#02590F
ΔE00 5.38
Forest Green
#2D5A27
ΔE00 5.49
Forest
#0B5509
ΔE00 6.24
Pine
#2B5D34
ΔE00 7.14
Darkish Green
#287C37
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B671F #5B1F67
analogous
#4F671F #2B671F #1F6737
triadic
#2B671F #1F2B67 #671F2B
tetradic
#2B671F #1F4F67 #5B1F67 #67371F
square
#2B671F #1F4F67 #5B1F67 #67371F
split-complementary
#2B671F #371F67 #671F4F
monochromatic
#0A1807 #173811 #2B671F #3F962D #53C43C
Accessibility & contrast
On white
6.86
#2B671F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#2B671F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B671F
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B671F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B671F | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5E16
Deuteranopia (green-blind)
#625825
Tritanopia (blue-blind)
#246458
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2b671f; /* rgb */ color: rgb(43, 103, 31); /* oklch */ color: oklch(45.7% 0.122 140.5);
Tailwind
colors: {
custom: {
50: '#6b935e',
500: '#2b671f',
950: '#000000',
},
}SCSS
$custom: #2b671f; $custom-light: #6b935e; $custom-dark: #000000;
JSON
{
"hex": "#2b671f",
"rgb": {
"r": 43,
"g": 103,
"b": 31
},
"hsl": {
"h": 110,
"s": 53.731,
"l": 26.275
},
"oklch": {
"l": 0.45749,
"c": 0.12187,
"h": 140.5
},
"luminance": 0.10313
}Semantic roles & 50–950 ramp
primary
#2B671F
secondary
#8D469B
accent
#4BDDC5
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79