#2B7F19#2B7F19
#2B7F19 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.157 H 140.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2B7F19 |
|---|---|
| RGB | rgb(43, 127, 25) |
| HSL | hsl(109, 67%, 30%) |
| HSV | hsv(109, 80%, 50%) |
| CMYK | cmyk(66.1%, 0%, 80.3%, 50.2%) |
| CIE-LAB | lab(46.66, -44.23, 44.44) |
| CIE-LCH | lch(46.66, 62.70, 134.86°) |
| OKLab | oklab(52.56% -0.1211 0.0993) |
| OKLCH | oklch(52.56% 0.157 140.7) |
| XYZ | xyz(8.7607, 15.7617, 3.5001) |
| Luminance | 0.1576 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.38
Green
#008000
ΔE00 2.38
Dark Grass Green
#388004
ΔE00 2.70
Forestgreen (CSS)
#228B22
ΔE00 4.30
Darkish Green
#287C37
ΔE00 5.21
Emerald Green
#028F1E
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B7F19 #6D197F
analogous
#5E7F19 #2B7F19 #197F3A
triadic
#2B7F19 #192B7F #7F192B
tetradic
#2B7F19 #195E7F #6D197F #7F3A19
square
#2B7F19 #195E7F #6D197F #7F3A19
split-complementary
#2B7F19 #3A197F #7F195E
monochromatic
#091A05 #1A4C0F #2B7F19 #3CB223 #56D83A
Accessibility & contrast
On white
5.06
#2B7F19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#2B7F19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B7F19
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B7F19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B7F19 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827300
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#1D7B6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2b7f19; /* rgb */ color: rgb(43, 127, 25); /* oklch */ color: oklch(52.6% 0.157 140.7);
Tailwind
colors: {
custom: {
50: '#71a55e',
500: '#2b7f19',
950: '#000000',
},
}SCSS
$custom: #2b7f19; $custom-light: #71a55e; $custom-dark: #000000;
JSON
{
"hex": "#2b7f19",
"rgb": {
"r": 43,
"g": 127,
"b": 25
},
"hsl": {
"h": 109.412,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.52562,
"c": 0.1566,
"h": 140.7
},
"luminance": 0.15763
}Semantic roles & 50–950 ramp
primary
#2B7F19
secondary
#9F41B3
accent
#3EEACC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79