#157F2C#157F2C
#157F2C is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.151 H 145.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #157F2C |
|---|---|
| RGB | rgb(21, 127, 44) |
| HSL | hsl(133, 72%, 29%) |
| HSV | hsv(133, 83%, 50%) |
| CMYK | cmyk(83.5%, 0%, 65.4%, 50.2%) |
| CIE-LAB | lab(46.34, -46.40, 36.16) |
| CIE-LCH | lch(46.34, 58.82, 142.07°) |
| OKLab | oklab(52.21% -0.1249 0.0845) |
| OKLCH | oklch(52.21% 0.151 145.9) |
| XYZ | xyz(8.3526, 15.5190, 4.9376) |
| Luminance | 0.1552 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.51
Tree Green
#2A7E19
ΔE00 3.46
Jungle Green
#048243
ΔE00 4.37
Green
#008000
ΔE00 4.42
Forestgreen (CSS)
#228B22
ΔE00 5.16
Dark Grass Green
#388004
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#157F2C #7F1568
analogous
#337F15 #157F2C #157F61
triadic
#157F2C #2C157F #7F2C15
tetradic
#157F2C #15337F #7F1568 #7F6115
square
#157F2C #15337F #7F1568 #7F6115
split-complementary
#157F2C #61157F #7F1533
monochromatic
#041A09 #0C4A1A #157F2C #1EB43E #31DD57
Accessibility & contrast
On white
5.12
#157F2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#157F2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #157F2C
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##157F2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##157F2C | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817322
Deuteranopia (green-blind)
#766B33
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #157f2c; /* rgb */ color: rgb(21, 127, 44); /* oklch */ color: oklch(52.2% 0.151 145.9);
Tailwind
colors: {
custom: {
50: '#68a569',
500: '#157f2c',
950: '#000000',
},
}SCSS
$custom: #157f2c; $custom-light: #68a569; $custom-dark: #000000;
JSON
{
"hex": "#157f2c",
"rgb": {
"r": 21,
"g": 127,
"b": 44
},
"hsl": {
"h": 133.019,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.52207,
"c": 0.15079,
"h": 145.9
},
"luminance": 0.1552
}Semantic roles & 50–950 ramp
primary
#157F2C
secondary
#B43C9A
accent
#39C7EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A