#2B7D2F#2B7D2F
#2B7D2F is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.139 H 144.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2B7D2F |
|---|---|
| RGB | rgb(43, 125, 47) |
| HSL | hsl(123, 49%, 33%) |
| HSV | hsv(123, 66%, 49%) |
| CMYK | cmyk(65.6%, 0%, 62.4%, 51%) |
| CIE-LAB | lab(46.16, -41.36, 34.64) |
| CIE-LCH | lch(46.16, 53.95, 140.05°) |
| OKLab | oklab(52.2% -0.1121 0.0814) |
| OKLCH | oklch(52.2% 0.139 144) |
| XYZ | xyz(8.8424, 15.3852, 5.1924) |
| Luminance | 0.1539 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.79
Tree Green
#2A7E19
ΔE00 3.29
Jungle Green
#048243
ΔE00 4.79
Green
#008000
ΔE00 5.05
Forestgreen (CSS)
#228B22
ΔE00 5.72
Dark Grass Green
#388004
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B7D2F #7D2B79
analogous
#507D2B #2B7D2F #2B7D58
triadic
#2B7D2F #2F2B7D #7D2F2B
tetradic
#2B7D2F #2B507D #7D2B79 #7D582B
square
#2B7D2F #2B507D #7D2B79 #7D582B
split-complementary
#2B7D2F #582B7D #7D2B50
monochromatic
#0C220D #1B4F1E #2B7D2F #3BAB40 #5CC761
Accessibility & contrast
On white
5.15
#2B7D2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#2B7D2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B7D2F
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B7D2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B7D2F | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7227
Deuteranopia (green-blind)
#756B35
Tritanopia (blue-blind)
#197A6C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2b7d2f; /* rgb */ color: rgb(43, 125, 47); /* oklch */ color: oklch(52.2% 0.139 144.0);
Tailwind
colors: {
custom: {
50: '#6fa36a',
500: '#2b7d2f',
950: '#000000',
},
}SCSS
$custom: #2b7d2f; $custom-light: #6fa36a; $custom-dark: #000000;
JSON
{
"hex": "#2b7d2f",
"rgb": {
"r": 43,
"g": 125,
"b": 47
},
"hsl": {
"h": 122.927,
"s": 48.81,
"l": 32.941
},
"oklch": {
"l": 0.52204,
"c": 0.13858,
"h": 144
},
"luminance": 0.15386
}Semantic roles & 50–950 ramp
primary
#2B7D2F
secondary
#AD57A8
accent
#4FD2D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A