#157C18#157C18
#157C18 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.161 H 143.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #157C18 |
|---|---|
| RGB | rgb(21, 124, 24) |
| HSL | hsl(122, 71%, 28%) |
| HSV | hsv(122, 83%, 49%) |
| CMYK | cmyk(83.1%, 0%, 80.6%, 51.4%) |
| CIE-LAB | lab(45.14, -47.35, 43.15) |
| CIE-LCH | lch(45.14, 64.06, 137.66°) |
| OKLab | oklab(51.16% -0.1284 0.0966) |
| OKLCH | oklch(51.16% 0.161 143) |
| XYZ | xyz(7.6813, 14.6397, 3.2849) |
| Luminance | 0.1464 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.75
Green
#008000
ΔE00 2.33
Dark Grass Green
#388004
ΔE00 4.44
Darkish Green
#287C37
ΔE00 4.62
Forestgreen (CSS)
#228B22
ΔE00 5.43
Emerald Green
#028F1E
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#157C18 #7C1579
analogous
#457C15 #157C18 #157C4B
triadic
#157C18 #18157C #7C1815
tetradic
#157C18 #15457C #7C1579 #7C4B15
square
#157C18 #15457C #7C1579 #7C4B15
split-complementary
#157C18 #4B157C #7C1545
monochromatic
#041A05 #0C480E #157C18 #1EB022 #30DC35
Accessibility & contrast
On white
5.35
#157C18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#157C18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #157C18
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##157C18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##157C18 | 1.00 | 5.35 | 3.93 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #157c18; /* rgb */ color: rgb(21, 124, 24); /* oklch */ color: oklch(51.2% 0.161 143.0);
Tailwind
colors: {
custom: {
50: '#68a35d',
500: '#157c18',
950: '#000000',
},
}SCSS
$custom: #157c18; $custom-light: #68a35d; $custom-dark: #000000;
JSON
{
"hex": "#157c18",
"rgb": {
"r": 21,
"g": 124,
"b": 24
},
"hsl": {
"h": 121.748,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.51158,
"c": 0.16066,
"h": 143
},
"luminance": 0.14641
}Semantic roles & 50–950 ramp
primary
#157C18
secondary
#B13CAE
accent
#3AE9EE
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79