#157F2F#157F2F
#157F2F is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.148 H 146.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #157F2F |
|---|---|
| RGB | rgb(21, 127, 47) |
| HSL | hsl(135, 72%, 29%) |
| HSV | hsv(135, 83%, 50%) |
| CMYK | cmyk(83.5%, 0%, 63%, 50.2%) |
| CIE-LAB | lab(46.37, -46.02, 34.76) |
| CIE-LCH | lch(46.37, 57.67, 142.93°) |
| OKLab | oklab(52.24% -0.1238 0.0818) |
| OKLCH | oklch(52.24% 0.148 146.6) |
| XYZ | xyz(8.4111, 15.5424, 5.2455) |
| Luminance | 0.1554 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.15
Jungle Green
#048243
ΔE00 3.88
Tree Green
#2A7E19
ΔE00 3.92
Green
#008000
ΔE00 4.92
Forestgreen (CSS)
#228B22
ΔE00 5.44
Emerald Green
#028F1E
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#157F2F #7F1565
analogous
#307F15 #157F2F #157F64
triadic
#157F2F #2F157F #7F2F15
tetradic
#157F2F #15307F #7F1565 #7F6415
square
#157F2F #15307F #7F1565 #7F6415
split-complementary
#157F2F #64157F #7F1530
monochromatic
#041A0A #0C4A1C #157F2F #1EB442 #31DD5B
Accessibility & contrast
On white
5.11
#157F2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#157F2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #157F2F
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##157F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##157F2F | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#756B36
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #157f2f; /* rgb */ color: rgb(21, 127, 47); /* oklch */ color: oklch(52.2% 0.148 146.6);
Tailwind
colors: {
custom: {
50: '#68a56a',
500: '#157f2f',
950: '#000000',
},
}SCSS
$custom: #157f2f; $custom-light: #68a56a; $custom-dark: #000000;
JSON
{
"hex": "#157f2f",
"rgb": {
"r": 21,
"g": 127,
"b": 47
},
"hsl": {
"h": 134.717,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.52243,
"c": 0.14834,
"h": 146.6
},
"luminance": 0.15543
}Semantic roles & 50–950 ramp
primary
#157F2F
secondary
#B43C97
accent
#39C2EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A