#2C8A1C#2C8A1C
#2C8A1C is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.168 H 141.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2C8A1C |
|---|---|
| RGB | rgb(44, 138, 28) |
| HSL | hsl(111, 66%, 33%) |
| HSV | hsv(111, 80%, 54%) |
| CMYK | cmyk(68.1%, 0%, 79.7%, 45.9%) |
| CIE-LAB | lab(50.45, -47.75, 47.09) |
| CIE-LCH | lch(50.45, 67.06, 135.40°) |
| OKLab | oklab(55.71% -0.1305 0.1052) |
| OKLCH | oklch(55.71% 0.168 141.1) |
| XYZ | xyz(10.3362, 18.7952, 4.1815) |
| Luminance | 0.1880 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.18
Emerald Green
#028F1E
ΔE00 2.47
True Green
#089404
ΔE00 3.91
Dark Grass Green
#388004
ΔE00 4.18
Irish Green
#019529
ΔE00 4.29
Tree Green
#2A7E19
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C8A1C #7A1C8A
analogous
#638A1C #2C8A1C #1C8A43
triadic
#2C8A1C #1C2C8A #8A1C2C
tetradic
#2C8A1C #1C638A #7A1C8A #8A431C
square
#2C8A1C #1C638A #7A1C8A #8A431C
split-complementary
#2C8A1C #431C8A #8A1C63
monochromatic
#0C2407 #1C5712 #2C8A1C #3CBD26 #5CDA47
Accessibility & contrast
On white
4.41
#2C8A1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#2C8A1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C8A1C
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C8A1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C8A1C | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#837529
Tritanopia (blue-blind)
#1A8575
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #2c8a1c; /* rgb */ color: rgb(44, 138, 28); /* oklch */ color: oklch(55.7% 0.168 141.1);
Tailwind
colors: {
custom: {
50: '#73ad61',
500: '#2c8a1c',
950: '#000000',
},
}SCSS
$custom: #2c8a1c; $custom-light: #73ad61; $custom-dark: #000000;
JSON
{
"hex": "#2c8a1c",
"rgb": {
"r": 44,
"g": 138,
"b": 28
},
"hsl": {
"h": 111.273,
"s": 66.265,
"l": 32.549
},
"oklch": {
"l": 0.55713,
"c": 0.16764,
"h": 141.1
},
"luminance": 0.18796
}Semantic roles & 50–950 ramp
primary
#2C8A1C
secondary
#AA46BB
accent
#3FE9D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A