#2B7C2F#2B7C2F
#2B7C2F is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.137 H 144.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2B7C2F |
|---|---|
| RGB | rgb(43, 124, 47) |
| HSL | hsl(123, 49%, 33%) |
| HSV | hsv(123, 65%, 49%) |
| CMYK | cmyk(65.3%, 0%, 62.1%, 51.4%) |
| CIE-LAB | lab(45.82, -40.97, 34.25) |
| CIE-LCH | lch(45.82, 53.40, 140.11°) |
| OKLab | oklab(51.92% -0.1111 0.0806) |
| OKLCH | oklch(51.92% 0.137 144) |
| XYZ | xyz(8.7165, 15.1333, 5.1504) |
| Luminance | 0.1513 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.65
Tree Green
#2A7E19
ΔE00 3.45
Jungle Green
#048243
ΔE00 4.84
Green
#008000
ΔE00 5.22
Dark Grass Green
#388004
ΔE00 6.06
Forestgreen (CSS)
#228B22
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B7C2F #7C2B78
analogous
#4F7C2B #2B7C2F #2B7C57
triadic
#2B7C2F #2F2B7C #7C2F2B
tetradic
#2B7C2F #2B4F7C #7C2B78 #7C572B
square
#2B7C2F #2B4F7C #7C2B78 #7C572B
split-complementary
#2B7C2F #572B7C #7C2B4F
monochromatic
#0B210D #1B4F1E #2B7C2F #3BA940 #5BC660
Accessibility & contrast
On white
5.22
#2B7C2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#2B7C2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B7C2F
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B7C2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B7C2F | 1.00 | 5.22 | 4.03 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7127
Deuteranopia (green-blind)
#746A35
Tritanopia (blue-blind)
#19796B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2b7c2f; /* rgb */ color: rgb(43, 124, 47); /* oklch */ color: oklch(51.9% 0.137 144.0);
Tailwind
colors: {
custom: {
50: '#6fa36a',
500: '#2b7c2f',
950: '#000000',
},
}SCSS
$custom: #2b7c2f; $custom-light: #6fa36a; $custom-dark: #000000;
JSON
{
"hex": "#2b7c2f",
"rgb": {
"r": 43,
"g": 124,
"b": 47
},
"hsl": {
"h": 122.963,
"s": 48.503,
"l": 32.745
},
"oklch": {
"l": 0.51923,
"c": 0.13722,
"h": 144
},
"luminance": 0.15134
}Semantic roles & 50–950 ramp
primary
#2B7C2F
secondary
#AC57A8
accent
#50D1D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A