#2C8418#2C8418
#2C8418 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.163 H 140.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2C8418 |
|---|---|
| RGB | rgb(44, 132, 24) |
| HSL | hsl(109, 69%, 31%) |
| HSV | hsv(109, 82%, 52%) |
| CMYK | cmyk(66.7%, 0%, 81.8%, 48.2%) |
| CIE-LAB | lab(48.39, -45.87, 46.43) |
| CIE-LCH | lch(48.39, 65.27, 134.65°) |
| OKLab | oklab(54% -0.1257 0.1033) |
| OKLCH | oklch(54% 0.163 140.6) |
| XYZ | xyz(9.4544, 17.1030, 3.6669) |
| Luminance | 0.1710 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.20
Dark Grass Green
#388004
ΔE00 2.63
Forestgreen (CSS)
#228B22
ΔE00 2.72
Green
#008000
ΔE00 2.75
Emerald Green
#028F1E
ΔE00 4.21
True Green
#089404
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C8418 #701884
analogous
#628418 #2C8418 #18843A
triadic
#2C8418 #182C84 #84182C
tetradic
#2C8418 #186284 #701884 #843A18
square
#2C8418 #186284 #701884 #843A18
split-complementary
#2C8418 #3A1884 #841862
monochromatic
#091C05 #1B500F #2C8418 #3DB821 #59DB3B
Accessibility & contrast
On white
4.75
#2C8418 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#2C8418 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C8418
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C8418 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C8418 | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#1D8070
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #2c8418; /* rgb */ color: rgb(44, 132, 24); /* oklch */ color: oklch(54.0% 0.163 140.6);
Tailwind
colors: {
custom: {
50: '#72a95f',
500: '#2c8418',
950: '#000000',
},
}SCSS
$custom: #2c8418; $custom-light: #72a95f; $custom-dark: #000000;
JSON
{
"hex": "#2c8418",
"rgb": {
"r": 44,
"g": 132,
"b": 24
},
"hsl": {
"h": 108.889,
"s": 69.231,
"l": 30.588
},
"oklch": {
"l": 0.54001,
"c": 0.16264,
"h": 140.6
},
"luminance": 0.17104
}Semantic roles & 50–950 ramp
primary
#2C8418
secondary
#A240B8
accent
#3CECCB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79