#157E2A#157E2A
#157E2A is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.151 H 145.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #157E2A |
|---|---|
| RGB | rgb(21, 126, 42) |
| HSL | hsl(132, 71%, 29%) |
| HSV | hsv(132, 83%, 49%) |
| CMYK | cmyk(83.3%, 0%, 66.7%, 50.6%) |
| CIE-LAB | lab(45.97, -46.30, 36.68) |
| CIE-LCH | lch(45.97, 59.07, 141.61°) |
| OKLab | oklab(51.9% -0.1247 0.0854) |
| OKLCH | oklch(51.9% 0.151 145.6) |
| XYZ | xyz(8.1874, 15.2473, 4.7016) |
| Luminance | 0.1525 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.58
Tree Green
#2A7E19
ΔE00 3.25
Green
#008000
ΔE00 4.23
Jungle Green
#048243
ΔE00 4.68
Forestgreen (CSS)
#228B22
ΔE00 5.35
Dark Grass Green
#388004
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#157E2A #7E1569
analogous
#357E15 #157E2A #157E5F
triadic
#157E2A #2A157E #7E2A15
tetradic
#157E2A #15357E #7E1569 #7E5F15
square
#157E2A #15357E #7E1569 #7E5F15
split-complementary
#157E2A #5F157E #7E1535
monochromatic
#041A09 #0C4A19 #157E2A #1EB23B #31DD53
Accessibility & contrast
On white
5.19
#157E2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#157E2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #157E2A
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##157E2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##157E2A | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807220
Deuteranopia (green-blind)
#756A32
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #157e2a; /* rgb */ color: rgb(21, 126, 42); /* oklch */ color: oklch(51.9% 0.151 145.6);
Tailwind
colors: {
custom: {
50: '#68a467',
500: '#157e2a',
950: '#000000',
},
}SCSS
$custom: #157e2a; $custom-light: #68a467; $custom-dark: #000000;
JSON
{
"hex": "#157e2a",
"rgb": {
"r": 21,
"g": 126,
"b": 42
},
"hsl": {
"h": 132,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.51896,
"c": 0.15113,
"h": 145.6
},
"luminance": 0.15248
}Semantic roles & 50–950 ramp
primary
#157E2A
secondary
#B33C9B
accent
#3ACAEE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A