#157D2C#157D2C
#157D2C is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.6% C 0.148 H 146.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #157D2C |
|---|---|
| RGB | rgb(21, 125, 44) |
| HSL | hsl(133, 71%, 29%) |
| HSV | hsv(133, 83%, 49%) |
| CMYK | cmyk(83.2%, 0%, 64.8%, 51%) |
| CIE-LAB | lab(45.64, -45.71, 35.38) |
| CIE-LCH | lch(45.64, 57.80, 142.26°) |
| OKLab | oklab(51.63% -0.123 0.0828) |
| OKLCH | oklch(51.63% 0.148 146.1) |
| XYZ | xyz(8.0969, 15.0075, 4.8524) |
| Luminance | 0.1501 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.17
Tree Green
#2A7E19
ΔE00 3.67
Jungle Green
#048243
ΔE00 4.39
Green
#008000
ΔE00 4.72
Forestgreen (CSS)
#228B22
ΔE00 5.86
Dark Grass Green
#388004
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#157D2C #7D1566
analogous
#327D15 #157D2C #157D60
triadic
#157D2C #2C157D #7D2C15
tetradic
#157D2C #15327D #7D1566 #7D6015
square
#157D2C #15327D #7D1566 #7D6015
split-complementary
#157D2C #60157D #7D1532
monochromatic
#041A09 #0C491A #157D2C #1EB13E #30DC56
Accessibility & contrast
On white
5.25
#157D2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#157D2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #157D2C
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##157D2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##157D2C | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7123
Deuteranopia (green-blind)
#746933
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #157d2c; /* rgb */ color: rgb(21, 125, 44); /* oklch */ color: oklch(51.6% 0.148 146.1);
Tailwind
colors: {
custom: {
50: '#67a468',
500: '#157d2c',
950: '#000000',
},
}SCSS
$custom: #157d2c; $custom-light: #67a468; $custom-dark: #000000;
JSON
{
"hex": "#157d2c",
"rgb": {
"r": 21,
"g": 125,
"b": 44
},
"hsl": {
"h": 133.269,
"s": 71.233,
"l": 28.627
},
"oklch": {
"l": 0.51631,
"c": 0.1483,
"h": 146.1
},
"luminance": 0.15009
}Semantic roles & 50–950 ramp
primary
#157D2C
secondary
#B23C98
accent
#3AC6EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A