#157C1F#157C1F
#157C1F is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.2% C 0.157 H 143.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #157C1F |
|---|---|
| RGB | rgb(21, 124, 31) |
| HSL | hsl(126, 71%, 28%) |
| HSV | hsv(126, 83%, 49%) |
| CMYK | cmyk(83.1%, 0%, 75%, 51.4%) |
| CIE-LAB | lab(45.18, -46.77, 40.60) |
| CIE-LCH | lch(45.18, 61.93, 139.04°) |
| OKLab | oklab(51.21% -0.1265 0.0923) |
| OKLCH | oklch(51.21% 0.157 143.9) |
| XYZ | xyz(7.7637, 14.6727, 3.7190) |
| Luminance | 0.1467 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.20
Green
#008000
ΔE00 3.06
Darkish Green
#287C37
ΔE00 3.81
Dark Grass Green
#388004
ΔE00 5.06
Forestgreen (CSS)
#228B22
ΔE00 5.53
Jungle Green
#048243
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#157C1F #7C1572
analogous
#3E7C15 #157C1F #157C52
triadic
#157C1F #1F157C #7C1F15
tetradic
#157C1F #153E7C #7C1572 #7C5215
square
#157C1F #153E7C #7C1572 #7C5215
split-complementary
#157C1F #52157C #7C153E
monochromatic
#041A07 #0C4812 #157C1F #1EB02C #30DC40
Accessibility & contrast
On white
5.34
#157C1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#157C1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #157C1F
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##157C1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##157C1F | 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)
#7F700F
Deuteranopia (green-blind)
#746829
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #157c1f; /* rgb */ color: rgb(21, 124, 31); /* oklch */ color: oklch(51.2% 0.157 143.9);
Tailwind
colors: {
custom: {
50: '#68a361',
500: '#157c1f',
950: '#000000',
},
}SCSS
$custom: #157c1f; $custom-light: #68a361; $custom-dark: #000000;
JSON
{
"hex": "#157c1f",
"rgb": {
"r": 21,
"g": 124,
"b": 31
},
"hsl": {
"h": 125.825,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.51211,
"c": 0.15657,
"h": 143.9
},
"luminance": 0.14674
}Semantic roles & 50–950 ramp
primary
#157C1F
secondary
#B13CA6
accent
#3ADCEE
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79