#157C1E#157C1E
#157C1E is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.2% C 0.157 H 143.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #157C1E |
|---|---|
| RGB | rgb(21, 124, 30) |
| HSL | hsl(125, 71%, 28%) |
| HSV | hsv(125, 83%, 49%) |
| CMYK | cmyk(83.1%, 0%, 75.8%, 51.4%) |
| CIE-LAB | lab(45.18, -46.86, 40.98) |
| CIE-LCH | lch(45.18, 62.26, 138.83°) |
| OKLab | oklab(51.2% -0.1268 0.0929) |
| OKLCH | oklch(51.2% 0.157 143.8) |
| XYZ | xyz(7.7507, 14.6675, 3.6507) |
| Luminance | 0.1467 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.12
Green
#008000
ΔE00 2.94
Darkish Green
#287C37
ΔE00 3.93
Dark Grass Green
#388004
ΔE00 4.96
Forestgreen (CSS)
#228B22
ΔE00 5.50
Jungle Green
#048243
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#157C1E #7C1573
analogous
#3F7C15 #157C1E #157C51
triadic
#157C1E #1E157C #7C1E15
tetradic
#157C1E #153F7C #7C1573 #7C5115
square
#157C1E #153F7C #7C1573 #7C5115
split-complementary
#157C1E #51157C #7C153F
monochromatic
#041A06 #0C4811 #157C1E #1EB02B #30DC3F
Accessibility & contrast
On white
5.34
#157C1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#157C1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #157C1E
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##157C1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##157C1E | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F700D
Deuteranopia (green-blind)
#746828
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #157c1e; /* rgb */ color: rgb(21, 124, 30); /* oklch */ color: oklch(51.2% 0.157 143.8);
Tailwind
colors: {
custom: {
50: '#68a360',
500: '#157c1e',
950: '#000000',
},
}SCSS
$custom: #157c1e; $custom-light: #68a360; $custom-dark: #000000;
JSON
{
"hex": "#157c1e",
"rgb": {
"r": 21,
"g": 124,
"b": 30
},
"hsl": {
"h": 125.243,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.51202,
"c": 0.1572,
"h": 143.8
},
"luminance": 0.14668
}Semantic roles & 50–950 ramp
primary
#157C1E
secondary
#B13CA7
accent
#3ADEEE
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79