#157B3A#157B3A
#157B3A is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.133 H 149.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #157B3A |
|---|---|
| RGB | rgb(21, 123, 58) |
| HSL | hsl(142, 71%, 28%) |
| HSV | hsv(142, 83%, 48%) |
| CMYK | cmyk(82.9%, 0%, 52.8%, 51.8%) |
| CIE-LAB | lab(45.12, -42.93, 27.64) |
| CIE-LCH | lch(45.12, 51.06, 147.23°) |
| OKLab | oklab(51.25% -0.1152 0.0669) |
| OKLCH | oklch(51.25% 0.133 149.9) |
| XYZ | xyz(8.1552, 14.6298, 6.3962) |
| Luminance | 0.1463 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.81
Jungle Green
#048243
ΔE00 2.71
Tree Green
#2A7E19
ΔE00 6.46
Sea Green
#2E8B57
ΔE00 7.14
Green
#008000
ΔE00 7.66
Dark Sea Green
#11875D
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#157B3A #7B1556
analogous
#237B15 #157B3A #157B6D
triadic
#157B3A #3A157B #7B3A15
tetradic
#157B3A #15237B #7B1556 #7B6D15
square
#157B3A #15237B #7B1556 #7B6D15
split-complementary
#157B3A #6D157B #7B1523
monochromatic
#041A0C #0C4721 #157B3A #1EAF53 #2FDB6E
Accessibility & contrast
On white
5.35
#157B3A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#157B3A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #157B3A
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##157B3A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##157B3A | 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)
#7C7034
Deuteranopia (green-blind)
#70683F
Tritanopia (blue-blind)
#00796C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #157b3a; /* rgb */ color: rgb(21, 123, 58); /* oklch */ color: oklch(51.3% 0.133 149.9);
Tailwind
colors: {
custom: {
50: '#66a271',
500: '#157b3a',
950: '#000000',
},
}SCSS
$custom: #157b3a; $custom-light: #66a271; $custom-dark: #000000;
JSON
{
"hex": "#157b3a",
"rgb": {
"r": 21,
"g": 123,
"b": 58
},
"hsl": {
"h": 141.765,
"s": 70.833,
"l": 28.235
},
"oklch": {
"l": 0.51254,
"c": 0.13327,
"h": 149.9
},
"luminance": 0.14631
}Semantic roles & 50–950 ramp
primary
#157B3A
secondary
#B03B86
accent
#3AADEE
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F08
muted
#7A7F7B