#1A7C38#1A7C38
#1A7C38 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.135 H 148.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #1A7C38 |
|---|---|
| RGB | rgb(26, 124, 56) |
| HSL | hsl(138, 65%, 29%) |
| HSV | hsv(138, 79%, 49%) |
| CMYK | cmyk(79%, 0%, 54.8%, 51.4%) |
| CIE-LAB | lab(45.52, -42.94, 29.21) |
| CIE-LCH | lch(45.52, 51.94, 145.78°) |
| OKLab | oklab(51.6% -0.1154 0.0703) |
| OKLCH | oklch(51.6% 0.135 148.7) |
| XYZ | xyz(8.3468, 14.9195, 6.1805) |
| Luminance | 0.1492 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.17
Jungle Green
#048243
ΔE00 2.80
Tree Green
#2A7E19
ΔE00 5.74
Green
#008000
ΔE00 6.99
Sea Green
#2E8B57
ΔE00 7.14
Forestgreen (CSS)
#228B22
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A7C38 #7C1A5E
analogous
#2D7C1A #1A7C38 #1A7C69
triadic
#1A7C38 #381A7C #7C381A
tetradic
#1A7C38 #1A2D7C #7C1A5E #7C691A
square
#1A7C38 #1A2D7C #7C1A5E #7C691A
split-complementary
#1A7C38 #691A7C #7C1A2D
monochromatic
#05190B #0F4921 #1A7C38 #25AF4F #3BD66A
Accessibility & contrast
On white
5.27
#1A7C38 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#1A7C38 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1A7C38
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A7C38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A7C38 | 1.00 | 5.27 | 3.98 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D7132
Deuteranopia (green-blind)
#72693D
Tritanopia (blue-blind)
#00796C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #1a7c38; /* rgb */ color: rgb(26, 124, 56); /* oklch */ color: oklch(51.6% 0.135 148.7);
Tailwind
colors: {
custom: {
50: '#68a370',
500: '#1a7c38',
950: '#000000',
},
}SCSS
$custom: #1a7c38; $custom-light: #68a370; $custom-dark: #000000;
JSON
{
"hex": "#1a7c38",
"rgb": {
"r": 26,
"g": 124,
"b": 56
},
"hsl": {
"h": 138.367,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.51601,
"c": 0.13516,
"h": 148.7
},
"luminance": 0.1492
}Semantic roles & 50–950 ramp
primary
#1A7C38
secondary
#B0428E
accent
#40B5E8
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F07
muted
#7A7F7A