#157C2E#157C2E
#157C2E is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.4% C 0.145 H 146.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #157C2E |
|---|---|
| RGB | rgb(21, 124, 46) |
| HSL | hsl(135, 71%, 28%) |
| HSV | hsv(135, 83%, 49%) |
| CMYK | cmyk(83.1%, 0%, 62.9%, 51.4%) |
| CIE-LAB | lab(45.32, -45.10, 34.04) |
| CIE-LCH | lch(45.32, 56.50, 142.95°) |
| OKLab | oklab(51.37% -0.1213 0.0801) |
| OKLCH | oklch(51.37% 0.145 146.6) |
| XYZ | xyz(8.0094, 14.7710, 5.0132) |
| Luminance | 0.1477 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.82
Tree Green
#2A7E19
ΔE00 4.13
Jungle Green
#048243
ΔE00 4.14
Green
#008000
ΔE00 5.23
Forestgreen (CSS)
#228B22
ΔE00 6.39
Dark Grass Green
#388004
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#157C2E #7C1563
analogous
#2F7C15 #157C2E #157C61
triadic
#157C2E #2E157C #7C2E15
tetradic
#157C2E #152F7C #7C1563 #7C6115
square
#157C2E #152F7C #7C1563 #7C6115
split-complementary
#157C2E #61157C #7C152F
monochromatic
#041A0A #0C481B #157C2E #1EB041 #30DC59
Accessibility & contrast
On white
5.31
#157C2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#157C2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #157C2E
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##157C2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##157C2E | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7026
Deuteranopia (green-blind)
#736835
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #157c2e; /* rgb */ color: rgb(21, 124, 46); /* oklch */ color: oklch(51.4% 0.145 146.6);
Tailwind
colors: {
custom: {
50: '#67a36a',
500: '#157c2e',
950: '#000000',
},
}SCSS
$custom: #157c2e; $custom-light: #67a36a; $custom-dark: #000000;
JSON
{
"hex": "#157c2e",
"rgb": {
"r": 21,
"g": 124,
"b": 46
},
"hsl": {
"h": 134.563,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.51368,
"c": 0.14538,
"h": 146.6
},
"luminance": 0.14772
}Semantic roles & 50–950 ramp
primary
#157C2E
secondary
#B13C95
accent
#3AC2EE
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A