#1A8A28#1A8A28
#1A8A28 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.166 H 144.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #1A8A28 |
|---|---|
| RGB | rgb(26, 138, 40) |
| HSL | hsl(128, 68%, 32%) |
| HSV | hsv(128, 81%, 54%) |
| CMYK | cmyk(81.2%, 0%, 71%, 45.9%) |
| CIE-LAB | lab(50.15, -49.92, 42.13) |
| CIE-LCH | lch(50.15, 65.32, 139.84°) |
| OKLab | oklab(55.39% -0.1349 0.0966) |
| OKLCH | oklch(55.39% 0.166 144.4) |
| XYZ | xyz(9.8968, 18.5486, 5.0657) |
| Luminance | 0.1855 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.18
Emerald Green
#028F1E
ΔE00 2.21
Kelley Green
#009337
ΔE00 3.58
Irish Green
#019529
ΔE00 3.82
Tree Green
#2A7E19
ΔE00 4.55
Green
#008000
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A8A28 #8A1A7C
analogous
#448A1A #1A8A28 #1A8A60
triadic
#1A8A28 #281A8A #8A281A
tetradic
#1A8A28 #1A448A #8A1A7C #8A601A
square
#1A8A28 #1A448A #8A1A7C #8A601A
split-complementary
#1A8A28 #601A8A #8A1A44
monochromatic
#07230A #105719 #1A8A28 #24BD37 #43DC56
Accessibility & contrast
On white
4.46
#1A8A28 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#1A8A28 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1A8A28
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A8A28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1A8A28 | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C1A
Deuteranopia (green-blind)
#817432
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #1a8a28; /* rgb */ color: rgb(26, 138, 40); /* oklch */ color: oklch(55.4% 0.166 144.4);
Tailwind
colors: {
custom: {
50: '#6cad67',
500: '#1a8a28',
950: '#000000',
},
}SCSS
$custom: #1a8a28; $custom-light: #6cad67; $custom-dark: #000000;
JSON
{
"hex": "#1a8a28",
"rgb": {
"r": 26,
"g": 138,
"b": 40
},
"hsl": {
"h": 127.5,
"s": 68.293,
"l": 32.157
},
"oklch": {
"l": 0.5539,
"c": 0.16589,
"h": 144.4
},
"luminance": 0.1855
}Semantic roles & 50–950 ramp
primary
#1A8A28
secondary
#BD43AD
accent
#3DD5EB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A