#2B701F#2B701F
#2B701F is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.134 H 140.9°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2B701F |
|---|---|
| RGB | rgb(43, 112, 31) |
| HSL | hsl(111, 57%, 28%) |
| HSV | hsv(111, 72%, 44%) |
| CMYK | cmyk(61.6%, 0%, 72.3%, 56.1%) |
| CIE-LAB | lab(41.53, -38.03, 36.96) |
| CIE-LCH | lch(41.53, 53.03, 135.81°) |
| OKLab | oklab(48.34% -0.104 0.0845) |
| OKLCH | oklch(48.34% 0.134 140.9) |
| XYZ | xyz(7.0374, 12.2002, 3.2801) |
| Luminance | 0.1220 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.05
Tree Green
#2A7E19
ΔE00 5.15
Darkish Green
#287C37
ΔE00 5.22
Green
#008000
ΔE00 6.60
Dark Grass Green
#388004
ΔE00 7.06
Deep Green
#02590F
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B701F #641F70
analogous
#53701F #2B701F #1F703B
triadic
#2B701F #1F2B70 #701F2B
tetradic
#2B701F #1F5370 #641F70 #703B1F
square
#2B701F #1F5370 #641F70 #703B1F
split-complementary
#2B701F #3B1F70 #701F53
monochromatic
#091807 #194012 #2B701F #3DA02C #54CA3F
Accessibility & contrast
On white
6.10
#2B701F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#2B701F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B701F
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B701F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B701F | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736613
Deuteranopia (green-blind)
#6A6027
Tritanopia (blue-blind)
#216C60
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2b701f; /* rgb */ color: rgb(43, 112, 31); /* oklch */ color: oklch(48.3% 0.134 140.9);
Tailwind
colors: {
custom: {
50: '#6d9a5f',
500: '#2b701f',
950: '#000000',
},
}SCSS
$custom: #2b701f; $custom-light: #6d9a5f; $custom-dark: #000000;
JSON
{
"hex": "#2b701f",
"rgb": {
"r": 43,
"g": 112,
"b": 31
},
"hsl": {
"h": 111.111,
"s": 56.643,
"l": 28.039
},
"oklch": {
"l": 0.48335,
"c": 0.13402,
"h": 140.9
},
"luminance": 0.12201
}Semantic roles & 50–950 ramp
primary
#2B701F
secondary
#9647A4
accent
#48E0C9
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79