#157542#157542
#157542 is a mid, moderate green. Relative luminance 0.133; OKLCH L 49.7% C 0.117 H 154.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #157542 |
|---|---|
| RGB | rgb(21, 117, 66) |
| HSL | hsl(148, 70%, 27%) |
| HSV | hsv(148, 82%, 46%) |
| CMYK | cmyk(82.1%, 0%, 43.6%, 54.1%) |
| CIE-LAB | lab(43.17, -39.15, 20.73) |
| CIE-LCH | lch(43.17, 44.30, 152.10°) |
| OKLab | oklab(49.68% -0.1053 0.0514) |
| OKLCH | oklch(49.68% 0.117 154) |
| XYZ | xyz(7.6532, 13.2744, 7.3121) |
| Luminance | 0.1328 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.84
Jungle Green
#048243
ΔE00 4.85
Dark Sea Green
#11875D
ΔE00 7.34
Spruce
#0A5F38
ΔE00 7.55
Sea Green
#2E8B57
ΔE00 8.21
Pine
#2B5D34
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#157542 #751548
analogous
#187515 #157542 #157572
triadic
#157542 #421575 #754215
tetradic
#157542 #151875 #751548 #757215
square
#157542 #151875 #751548 #757215
split-complementary
#157542 #721575 #751518
monochromatic
#051A0F #0C4125 #157542 #1EA95F #2BD97D
Accessibility & contrast
On white
5.75
#157542 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#157542 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #157542
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##157542 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##157542 | 1.00 | 5.75 | 3.66 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756B3E
Deuteranopia (green-blind)
#6A6345
Tritanopia (blue-blind)
#007368
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #157542; /* rgb */ color: rgb(21, 117, 66); /* oklch */ color: oklch(49.7% 0.117 154.0);
Tailwind
colors: {
custom: {
50: '#649e77',
500: '#157542',
950: '#000000',
},
}SCSS
$custom: #157542; $custom-light: #649e77; $custom-dark: #000000;
JSON
{
"hex": "#157542",
"rgb": {
"r": 21,
"g": 117,
"b": 66
},
"hsl": {
"h": 148.125,
"s": 69.565,
"l": 27.059
},
"oklch": {
"l": 0.49682,
"c": 0.11722,
"h": 154
},
"luminance": 0.13275
}Semantic roles & 50–950 ramp
primary
#157542
secondary
#AB3B76
accent
#3B99EC
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B