#157E3A#157E3A
#157E3A is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.137 H 149.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #157E3A |
|---|---|
| RGB | rgb(21, 126, 58) |
| HSL | hsl(141, 71%, 29%) |
| HSV | hsv(141, 83%, 49%) |
| CMYK | cmyk(83.3%, 0%, 54%, 50.6%) |
| CIE-LAB | lab(46.16, -44.04, 28.91) |
| CIE-LCH | lch(46.16, 52.68, 146.71°) |
| OKLab | oklab(52.11% -0.1182 0.0698) |
| OKLCH | oklch(52.11% 0.137 149.4) |
| XYZ | xyz(8.5331, 15.3856, 6.5222) |
| Luminance | 0.1539 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.63
Jungle Green
#048243
ΔE00 2.10
Tree Green
#2A7E19
ΔE00 5.97
Sea Green
#2E8B57
ΔE00 6.54
Green
#008000
ΔE00 7.10
Forestgreen (CSS)
#228B22
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#157E3A #7E1559
analogous
#257E15 #157E3A #157E6F
triadic
#157E3A #3A157E #7E3A15
tetradic
#157E3A #15257E #7E1559 #7E6F15
square
#157E3A #15257E #7E1559 #7E6F15
split-complementary
#157E3A #6F157E #7E1525
monochromatic
#041A0C #0C4A22 #157E3A #1EB252 #31DD6D
Accessibility & contrast
On white
5.15
#157E3A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#157E3A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #157E3A
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##157E3A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##157E3A | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7234
Deuteranopia (green-blind)
#736A3F
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #157e3a; /* rgb */ color: rgb(21, 126, 58); /* oklch */ color: oklch(52.1% 0.137 149.4);
Tailwind
colors: {
custom: {
50: '#67a472',
500: '#157e3a',
950: '#000000',
},
}SCSS
$custom: #157e3a; $custom-light: #67a472; $custom-dark: #000000;
JSON
{
"hex": "#157e3a",
"rgb": {
"r": 21,
"g": 126,
"b": 58
},
"hsl": {
"h": 141.143,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.52112,
"c": 0.13727,
"h": 149.4
},
"luminance": 0.15387
}Semantic roles & 50–950 ramp
primary
#157E3A
secondary
#B33C89
accent
#3AAFEE
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F08
muted
#7A7F7B