#157C2F#157C2F
#157C2F is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.4% C 0.145 H 146.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #157C2F |
|---|---|
| RGB | rgb(21, 124, 47) |
| HSL | hsl(135, 71%, 28%) |
| HSV | hsv(135, 83%, 49%) |
| CMYK | cmyk(83.1%, 0%, 62.1%, 51.4%) |
| CIE-LAB | lab(45.33, -44.96, 33.56) |
| CIE-LCH | lch(45.33, 56.11, 143.26°) |
| OKLab | oklab(51.38% -0.1209 0.0792) |
| OKLCH | oklch(51.38% 0.145 146.8) |
| XYZ | xyz(8.0294, 14.7790, 5.1182) |
| Luminance | 0.1478 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.71
Jungle Green
#048243
ΔE00 3.99
Tree Green
#2A7E19
ΔE00 4.29
Green
#008000
ΔE00 5.40
Forestgreen (CSS)
#228B22
ΔE00 6.48
Dark Grass Green
#388004
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#157C2F #7C1562
analogous
#2E7C15 #157C2F #157C62
triadic
#157C2F #2F157C #7C2F15
tetradic
#157C2F #152E7C #7C1562 #7C6215
square
#157C2F #152E7C #7C1562 #7C6215
split-complementary
#157C2F #62157C #7C152E
monochromatic
#041A0A #0C481B #157C2F #1EB043 #30DC5B
Accessibility & contrast
On white
5.31
#157C2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#157C2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #157C2F
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##157C2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##157C2F | 1.00 | 5.31 | 3.96 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7027
Deuteranopia (green-blind)
#726835
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #157c2f; /* rgb */ color: rgb(21, 124, 47); /* oklch */ color: oklch(51.4% 0.145 146.8);
Tailwind
colors: {
custom: {
50: '#67a36a',
500: '#157c2f',
950: '#000000',
},
}SCSS
$custom: #157c2f; $custom-light: #67a36a; $custom-dark: #000000;
JSON
{
"hex": "#157c2f",
"rgb": {
"r": 21,
"g": 124,
"b": 47
},
"hsl": {
"h": 135.146,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.51381,
"c": 0.14453,
"h": 146.8
},
"luminance": 0.1478
}Semantic roles & 50–950 ramp
primary
#157C2F
secondary
#B13C94
accent
#3AC0EE
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F07
muted
#7A7F7A