#157C2C#157C2C
#157C2C is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.3% C 0.147 H 146.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #157C2C |
|---|---|
| RGB | rgb(21, 124, 44) |
| HSL | hsl(133, 71%, 28%) |
| HSV | hsv(133, 83%, 49%) |
| CMYK | cmyk(83.1%, 0%, 64.5%, 51.4%) |
| CIE-LAB | lab(45.30, -45.36, 34.98) |
| CIE-LCH | lch(45.30, 57.28, 142.36°) |
| OKLab | oklab(51.34% -0.1221 0.082) |
| OKLCH | oklch(51.34% 0.147 146.1) |
| XYZ | xyz(7.9709, 14.7556, 4.8104) |
| Luminance | 0.1476 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.08
Tree Green
#2A7E19
ΔE00 3.82
Jungle Green
#048243
ΔE00 4.45
Green
#008000
ΔE00 4.90
Forestgreen (CSS)
#228B22
ΔE00 6.21
Dark Grass Green
#388004
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#157C2C #7C1565
analogous
#317C15 #157C2C #157C5F
triadic
#157C2C #2C157C #7C2C15
tetradic
#157C2C #15317C #7C1565 #7C5F15
square
#157C2C #15317C #7C1565 #7C5F15
split-complementary
#157C2C #5F157C #7C1531
monochromatic
#041A09 #0C4819 #157C2C #1EB03F #30DC56
Accessibility & contrast
On white
5.31
#157C2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#157C2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #157C2C
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##157C2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##157C2C | 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)
#7E7023
Deuteranopia (green-blind)
#736833
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #157c2c; /* rgb */ color: rgb(21, 124, 44); /* oklch */ color: oklch(51.3% 0.147 146.1);
Tailwind
colors: {
custom: {
50: '#67a368',
500: '#157c2c',
950: '#000000',
},
}SCSS
$custom: #157c2c; $custom-light: #67a368; $custom-dark: #000000;
JSON
{
"hex": "#157c2c",
"rgb": {
"r": 21,
"g": 124,
"b": 44
},
"hsl": {
"h": 133.398,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.51343,
"c": 0.14704,
"h": 146.1
},
"luminance": 0.14757
}Semantic roles & 50–950 ramp
primary
#157C2C
secondary
#B13C97
accent
#3AC6EE
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A