#157E2F#157E2F
#157E2F is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.147 H 146.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #157E2F |
|---|---|
| RGB | rgb(21, 126, 47) |
| HSL | hsl(135, 71%, 29%) |
| HSV | hsv(135, 83%, 49%) |
| CMYK | cmyk(83.3%, 0%, 62.7%, 50.6%) |
| CIE-LAB | lab(46.02, -45.67, 34.36) |
| CIE-LCH | lch(46.02, 57.15, 143.04°) |
| OKLab | oklab(51.96% -0.1228 0.0809) |
| OKLCH | oklch(51.96% 0.147 146.6) |
| XYZ | xyz(8.2826, 15.2854, 5.2026) |
| Luminance | 0.1529 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.94
Jungle Green
#048243
ΔE00 3.88
Tree Green
#2A7E19
ΔE00 4.01
Green
#008000
ΔE00 5.06
Forestgreen (CSS)
#228B22
ΔE00 5.78
Dark Grass Green
#388004
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#157E2F #7E1564
analogous
#307E15 #157E2F #157E64
triadic
#157E2F #2F157E #7E2F15
tetradic
#157E2F #15307E #7E1564 #7E6415
square
#157E2F #15307E #7E1564 #7E6415
split-complementary
#157E2F #64157E #7E1530
monochromatic
#041A0A #0C4A1B #157E2F #1EB243 #31DD5B
Accessibility & contrast
On white
5.18
#157E2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#157E2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #157E2F
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##157E2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##157E2F | 1.00 | 5.18 | 4.06 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807227
Deuteranopia (green-blind)
#746A36
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #157e2f; /* rgb */ color: rgb(21, 126, 47); /* oklch */ color: oklch(52.0% 0.147 146.6);
Tailwind
colors: {
custom: {
50: '#67a46a',
500: '#157e2f',
950: '#000000',
},
}SCSS
$custom: #157e2f; $custom-light: #67a46a; $custom-dark: #000000;
JSON
{
"hex": "#157e2f",
"rgb": {
"r": 21,
"g": 126,
"b": 47
},
"hsl": {
"h": 134.857,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.51956,
"c": 0.14708,
"h": 146.6
},
"luminance": 0.15286
}Semantic roles & 50–950 ramp
primary
#157E2F
secondary
#B33C96
accent
#3AC1EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A