#157040#157040
#157040 is a mid, moderate green. Relative luminance 0.121; OKLCH L 48.2% C 0.112 H 154.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #157040 |
|---|---|
| RGB | rgb(21, 112, 64) |
| HSL | hsl(148, 68%, 26%) |
| HSV | hsv(148, 81%, 44%) |
| CMYK | cmyk(81.2%, 0%, 42.9%, 56.1%) |
| CIE-LAB | lab(41.40, -37.56, 19.55) |
| CIE-LCH | lch(41.40, 42.34, 152.50°) |
| OKLab | oklab(48.21% -0.1011 0.0486) |
| OKLCH | oklch(48.21% 0.112 154.3) |
| XYZ | xyz(7.0282, 12.1171, 6.8179) |
| Luminance | 0.1212 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 5.81
Darkish Green
#287C37
ΔE00 6.17
Jungle Green
#048243
ΔE00 6.58
Pine
#2B5D34
ΔE00 6.97
Hunter Green
#355E3B
ΔE00 7.74
Forest Green
#2D5A27
ΔE00 8.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#157040 #701545
analogous
#177015 #157040 #15706D
triadic
#157040 #401570 #704015
tetradic
#157040 #151770 #701545 #706D15
square
#157040 #151770 #701545 #706D15
split-complementary
#157040 #6D1570 #701517
monochromatic
#051A0F #0B3C23 #157040 #1FA45D #29D77B
Accessibility & contrast
On white
6.13
#157040 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#157040 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #157040
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##157040 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##157040 | 1.00 | 6.13 | 3.42 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70663D
Deuteranopia (green-blind)
#655F43
Tritanopia (blue-blind)
#006F64
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #157040; /* rgb */ color: rgb(21, 112, 64); /* oklch */ color: oklch(48.2% 0.112 154.3);
Tailwind
colors: {
custom: {
50: '#639a75',
500: '#157040',
950: '#000000',
},
}SCSS
$custom: #157040; $custom-light: #639a75; $custom-dark: #000000;
JSON
{
"hex": "#157040",
"rgb": {
"r": 21,
"g": 112,
"b": 64
},
"hsl": {
"h": 148.352,
"s": 68.421,
"l": 26.078
},
"oklch": {
"l": 0.48206,
"c": 0.1122,
"h": 154.3
},
"luminance": 0.12118
}Semantic roles & 50–950 ramp
primary
#157040
secondary
#A63B73
accent
#3D99EB
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B