#2B7C18#2B7C18
#2B7C18 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.154 H 140.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2B7C18 |
|---|---|
| RGB | rgb(43, 124, 24) |
| HSL | hsl(109, 68%, 29%) |
| HSV | hsv(109, 81%, 49%) |
| CMYK | cmyk(65.3%, 0%, 80.6%, 51.4%) |
| CIE-LAB | lab(45.63, -43.19, 43.79) |
| CIE-LCH | lch(45.63, 61.51, 134.61°) |
| OKLab | oklab(51.7% -0.1184 0.0978) |
| OKLCH | oklch(51.7% 0.154 140.5) |
| XYZ | xyz(8.3684, 14.9940, 3.3171) |
| Luminance | 0.1499 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.70
Green
#008000
ΔE00 2.74
Dark Grass Green
#388004
ΔE00 3.09
Darkish Green
#287C37
ΔE00 5.03
Forestgreen (CSS)
#228B22
ΔE00 5.34
Emerald Green
#028F1E
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B7C18 #69187C
analogous
#5D7C18 #2B7C18 #187C37
triadic
#2B7C18 #182B7C #7C182B
tetradic
#2B7C18 #185D7C #69187C #7C3718
square
#2B7C18 #185D7C #69187C #7C3718
split-complementary
#2B7C18 #37187C #7C185D
monochromatic
#091A05 #19490E #2B7C18 #3DAF22 #55D836
Accessibility & contrast
On white
5.25
#2B7C18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#2B7C18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B7C18
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B7C18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B7C18 | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#1E7869
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2b7c18; /* rgb */ color: rgb(43, 124, 24); /* oklch */ color: oklch(51.7% 0.154 140.5);
Tailwind
colors: {
custom: {
50: '#70a35e',
500: '#2b7c18',
950: '#000000',
},
}SCSS
$custom: #2b7c18; $custom-light: #70a35e; $custom-dark: #000000;
JSON
{
"hex": "#2b7c18",
"rgb": {
"r": 43,
"g": 124,
"b": 24
},
"hsl": {
"h": 108.6,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.51704,
"c": 0.15352,
"h": 140.5
},
"luminance": 0.14995
}Semantic roles & 50–950 ramp
primary
#2B7C18
secondary
#9B3FB1
accent
#3DEACA
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79