#2B701B#2B701B
#2B701B is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.137 H 140.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2B701B |
|---|---|
| RGB | rgb(43, 112, 27) |
| HSL | hsl(109, 61%, 27%) |
| HSV | hsv(109, 76%, 44%) |
| CMYK | cmyk(61.6%, 0%, 75.9%, 56.1%) |
| CIE-LAB | lab(41.50, -38.39, 38.60) |
| CIE-LCH | lch(41.50, 54.44, 134.84°) |
| OKLab | oklab(48.3% -0.1052 0.0874) |
| OKLCH | oklch(48.3% 0.137 140.3) |
| XYZ | xyz(6.9879, 12.1804, 3.0195) |
| Luminance | 0.1218 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.90
Tree Green
#2A7E19
ΔE00 4.96
Darkish Green
#287C37
ΔE00 5.61
Green
#008000
ΔE00 6.34
Dark Grass Green
#388004
ΔE00 6.72
Deep Green
#02590F
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B701B #601B70
analogous
#56701B #2B701B #1B7036
triadic
#2B701B #1B2B70 #701B2B
tetradic
#2B701B #1B5670 #601B70 #70361B
square
#2B701B #1B5670 #601B70 #70361B
split-complementary
#2B701B #361B70 #701B56
monochromatic
#091906 #183F0F #2B701B #3EA127 #53CF37
Accessibility & contrast
On white
6.11
#2B701B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#2B701B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B701B
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B701B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B701B | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73650C
Deuteranopia (green-blind)
#6B6024
Tritanopia (blue-blind)
#226C5F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2b701b; /* rgb */ color: rgb(43, 112, 27); /* oklch */ color: oklch(48.3% 0.137 140.3);
Tailwind
colors: {
custom: {
50: '#6d9a5d',
500: '#2b701b',
950: '#000000',
},
}SCSS
$custom: #2b701b; $custom-light: #6d9a5d; $custom-dark: #000000;
JSON
{
"hex": "#2b701b",
"rgb": {
"r": 43,
"g": 112,
"b": 27
},
"hsl": {
"h": 108.706,
"s": 61.151,
"l": 27.255
},
"oklch": {
"l": 0.48299,
"c": 0.13679,
"h": 140.3
},
"luminance": 0.12181
}Semantic roles & 50–950 ramp
primary
#2B701B
secondary
#9242A5
accent
#44E4C6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79