#2C7E18#2C7E18
#2C7E18 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.156 H 140.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7E18 |
|---|---|
| RGB | rgb(44, 126, 24) |
| HSL | hsl(108, 68%, 29%) |
| HSV | hsv(108, 81%, 49%) |
| CMYK | cmyk(65.1%, 0%, 81%, 50.6%) |
| CIE-LAB | lab(46.34, -43.69, 44.48) |
| CIE-LCH | lch(46.34, 62.35, 134.48°) |
| OKLab | oklab(52.31% -0.1198 0.0992) |
| OKLCH | oklch(52.31% 0.156 140.4) |
| XYZ | xyz(8.6640, 15.5223, 3.4035) |
| Luminance | 0.1552 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.26
Green
#008000
ΔE00 2.49
Dark Grass Green
#388004
ΔE00 2.65
Forestgreen (CSS)
#228B22
ΔE00 4.67
Darkish Green
#287C37
ΔE00 5.24
Emerald Green
#028F1E
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7E18 #6A187E
analogous
#5F7E18 #2C7E18 #187E37
triadic
#2C7E18 #182C7E #7E182C
tetradic
#2C7E18 #185F7E #6A187E #7E3718
square
#2C7E18 #185F7E #6A187E #7E3718
split-complementary
#2C7E18 #37187E #7E185F
monochromatic
#091A05 #1A4B0E #2C7E18 #3EB122 #57D937
Accessibility & contrast
On white
5.12
#2C7E18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#2C7E18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7E18
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7E18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7E18 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786B24
Tritanopia (blue-blind)
#1F7A6B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2c7e18; /* rgb */ color: rgb(44, 126, 24); /* oklch */ color: oklch(52.3% 0.156 140.4);
Tailwind
colors: {
custom: {
50: '#71a45e',
500: '#2c7e18',
950: '#000000',
},
}SCSS
$custom: #2c7e18; $custom-light: #71a45e; $custom-dark: #000000;
JSON
{
"hex": "#2c7e18",
"rgb": {
"r": 44,
"g": 126,
"b": 24
},
"hsl": {
"h": 108.235,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.52305,
"c": 0.15552,
"h": 140.4
},
"luminance": 0.15523
}Semantic roles & 50–950 ramp
primary
#2C7E18
secondary
#9C3FB2
accent
#3DEBC9
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79