#157C1A#157C1A
#157C1A is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.160 H 143.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #157C1A |
|---|---|
| RGB | rgb(21, 124, 26) |
| HSL | hsl(123, 71%, 28%) |
| HSV | hsv(123, 83%, 49%) |
| CMYK | cmyk(83.1%, 0%, 79%, 51.4%) |
| CIE-LAB | lab(45.15, -47.20, 42.46) |
| CIE-LCH | lch(45.15, 63.48, 138.03°) |
| OKLab | oklab(51.17% -0.1279 0.0954) |
| OKLCH | oklch(51.17% 0.16 143.3) |
| XYZ | xyz(7.7029, 14.6484, 3.3985) |
| Luminance | 0.1465 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.84
Green
#008000
ΔE00 2.52
Darkish Green
#287C37
ΔE00 4.40
Dark Grass Green
#388004
ΔE00 4.60
Forestgreen (CSS)
#228B22
ΔE00 5.44
Emerald Green
#028F1E
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#157C1A #7C1577
analogous
#437C15 #157C1A #157C4D
triadic
#157C1A #1A157C #7C1A15
tetradic
#157C1A #15437C #7C1577 #7C4D15
square
#157C1A #15437C #7C1577 #7C4D15
split-complementary
#157C1A #4D157C #7C1543
monochromatic
#041A05 #0C480F #157C1A #1EB025 #30DC38
Accessibility & contrast
On white
5.34
#157C1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#157C1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #157C1A
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##157C1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##157C1A | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F6F04
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #157c1a; /* rgb */ color: rgb(21, 124, 26); /* oklch */ color: oklch(51.2% 0.160 143.3);
Tailwind
colors: {
custom: {
50: '#68a35e',
500: '#157c1a',
950: '#000000',
},
}SCSS
$custom: #157c1a; $custom-light: #68a35e; $custom-dark: #000000;
JSON
{
"hex": "#157c1a",
"rgb": {
"r": 21,
"g": 124,
"b": 26
},
"hsl": {
"h": 122.913,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.51172,
"c": 0.15957,
"h": 143.3
},
"luminance": 0.14649
}Semantic roles & 50–950 ramp
primary
#157C1A
secondary
#B13CAC
accent
#3AE5EE
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79