#2A8A1C#2A8A1C
#2A8A1C is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.168 H 141.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2A8A1C |
|---|---|
| RGB | rgb(42, 138, 28) |
| HSL | hsl(112, 66%, 33%) |
| HSV | hsv(112, 80%, 54%) |
| CMYK | cmyk(69.6%, 0%, 79.7%, 45.9%) |
| CIE-LAB | lab(50.40, -48.18, 47.02) |
| CIE-LCH | lch(50.40, 67.32, 135.70°) |
| OKLab | oklab(55.66% -0.1315 0.1051) |
| OKLCH | oklch(55.66% 0.168 141.4) |
| XYZ | xyz(10.2524, 18.7520, 4.1776) |
| Luminance | 0.1875 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.05
Emerald Green
#028F1E
ΔE00 2.36
True Green
#089404
ΔE00 3.89
Irish Green
#019529
ΔE00 4.22
Dark Grass Green
#388004
ΔE00 4.25
Green
#008000
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A8A1C #7C1C8A
analogous
#618A1C #2A8A1C #1C8A45
triadic
#2A8A1C #1C2A8A #8A1C2A
tetradic
#2A8A1C #1C618A #7C1C8A #8A451C
square
#2A8A1C #1C618A #7C1C8A #8A451C
split-complementary
#2A8A1C #451C8A #8A1C61
monochromatic
#0B2407 #1B5712 #2A8A1C #39BD26 #59DA47
Accessibility & contrast
On white
4.42
#2A8A1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#2A8A1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A8A1C
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A8A1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A8A1C | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#827529
Tritanopia (blue-blind)
#158575
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #2a8a1c; /* rgb */ color: rgb(42, 138, 28); /* oklch */ color: oklch(55.7% 0.168 141.4);
Tailwind
colors: {
custom: {
50: '#72ad61',
500: '#2a8a1c',
950: '#000000',
},
}SCSS
$custom: #2a8a1c; $custom-light: #72ad61; $custom-dark: #000000;
JSON
{
"hex": "#2a8a1c",
"rgb": {
"r": 42,
"g": 138,
"b": 28
},
"hsl": {
"h": 112.364,
"s": 66.265,
"l": 32.549
},
"oklch": {
"l": 0.55656,
"c": 0.16837,
"h": 141.4
},
"luminance": 0.18753
}Semantic roles & 50–950 ramp
primary
#2A8A1C
secondary
#AD46BB
accent
#3FE9D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A