#2B7E2D#2B7E2D
#2B7E2D is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.142 H 143.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2B7E2D |
|---|---|
| RGB | rgb(43, 126, 45) |
| HSL | hsl(121, 49%, 33%) |
| HSV | hsv(121, 66%, 49%) |
| CMYK | cmyk(65.9%, 0%, 64.3%, 50.6%) |
| CIE-LAB | lab(46.48, -41.99, 35.97) |
| CIE-LCH | lch(46.48, 55.29, 139.42°) |
| OKLab | oklab(52.46% -0.1139 0.0841) |
| OKLCH | oklch(52.46% 0.142 143.6) |
| XYZ | xyz(8.9302, 15.6239, 5.0272) |
| Luminance | 0.1563 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.31
Tree Green
#2A7E19
ΔE00 2.83
Green
#008000
ΔE00 4.59
Jungle Green
#048243
ΔE00 5.06
Forestgreen (CSS)
#228B22
ΔE00 5.20
Dark Grass Green
#388004
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B7E2D #7E2B7C
analogous
#527E2B #2B7E2D #2B7E56
triadic
#2B7E2D #2D2B7E #7E2D2B
tetradic
#2B7E2D #2B527E #7E2B7C #7E562B
square
#2B7E2D #2B527E #7E2B7C #7E562B
split-complementary
#2B7E2D #562B7E #7E2B52
monochromatic
#0C230C #1B501D #2B7E2D #3BAC3D #5CC75F
Accessibility & contrast
On white
5.09
#2B7E2D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#2B7E2D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B7E2D
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B7E2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B7E2D | 1.00 | 5.09 | 4.12 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817224
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#197A6D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2b7e2d; /* rgb */ color: rgb(43, 126, 45); /* oklch */ color: oklch(52.5% 0.142 143.6);
Tailwind
colors: {
custom: {
50: '#6fa469',
500: '#2b7e2d',
950: '#000000',
},
}SCSS
$custom: #2b7e2d; $custom-light: #6fa469; $custom-dark: #000000;
JSON
{
"hex": "#2b7e2d",
"rgb": {
"r": 43,
"g": 126,
"b": 45
},
"hsl": {
"h": 121.446,
"s": 49.112,
"l": 33.137
},
"oklch": {
"l": 0.52462,
"c": 0.14161,
"h": 143.6
},
"luminance": 0.15625
}Semantic roles & 50–950 ramp
primary
#2B7E2D
secondary
#AD58AB
accent
#4FD5D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A