#157B2B#157B2B
#157B2B is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.0% C 0.147 H 146.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #157B2B |
|---|---|
| RGB | rgb(21, 123, 43) |
| HSL | hsl(133, 71%, 28%) |
| HSV | hsv(133, 83%, 48%) |
| CMYK | cmyk(82.9%, 0%, 65%, 51.8%) |
| CIE-LAB | lab(44.94, -45.13, 35.06) |
| CIE-LCH | lch(44.94, 57.15, 142.16°) |
| OKLab | oklab(51.04% -0.1215 0.082) |
| OKLCH | oklch(51.04% 0.147 146) |
| XYZ | xyz(7.8277, 14.4988, 4.6710) |
| Luminance | 0.1450 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.17
Tree Green
#2A7E19
ΔE00 3.85
Jungle Green
#048243
ΔE00 4.67
Green
#008000
ΔE00 4.94
Forestgreen (CSS)
#228B22
ΔE00 6.49
Dark Grass Green
#388004
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#157B2B #7B1565
analogous
#327B15 #157B2B #157B5E
triadic
#157B2B #2B157B #7B2B15
tetradic
#157B2B #15327B #7B1565 #7B5E15
square
#157B2B #15327B #7B1565 #7B5E15
split-complementary
#157B2B #5E157B #7B1532
monochromatic
#041A09 #0C4719 #157B2B #1EAF3D #2FDB54
Accessibility & contrast
On white
5.38
#157B2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#157B2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #157B2B
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##157B2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##157B2B | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6F22
Deuteranopia (green-blind)
#726732
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #157b2b; /* rgb */ color: rgb(21, 123, 43); /* oklch */ color: oklch(51.0% 0.147 146.0);
Tailwind
colors: {
custom: {
50: '#67a268',
500: '#157b2b',
950: '#000000',
},
}SCSS
$custom: #157b2b; $custom-light: #67a268; $custom-dark: #000000;
JSON
{
"hex": "#157b2b",
"rgb": {
"r": 21,
"g": 123,
"b": 43
},
"hsl": {
"h": 132.941,
"s": 70.833,
"l": 28.235
},
"oklch": {
"l": 0.51043,
"c": 0.1466,
"h": 146
},
"luminance": 0.145
}Semantic roles & 50–950 ramp
primary
#157B2B
secondary
#B03B97
accent
#3AC7EE
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A