#157131#157131
#157131 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.2% C 0.128 H 148.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #157131 |
|---|---|
| RGB | rgb(21, 113, 49) |
| HSL | hsl(138, 69%, 26%) |
| HSV | hsv(138, 81%, 44%) |
| CMYK | cmyk(81.4%, 0%, 56.6%, 55.7%) |
| CIE-LAB | lab(41.52, -40.68, 28.02) |
| CIE-LCH | lch(41.52, 49.39, 145.44°) |
| OKLab | oklab(48.23% -0.1093 0.0672) |
| OKLCH | oklch(48.23% 0.128 148.4) |
| XYZ | xyz(6.7682, 12.1906, 4.9015) |
| Luminance | 0.1219 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.11
Jungle Green
#048243
ΔE00 6.08
Darkgreen
#006400
ΔE00 6.97
Tree Green
#2A7E19
ΔE00 7.43
Spruce
#0A5F38
ΔE00 7.84
Pine
#2B5D34
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#157131 #711555
analogous
#277115 #157131 #15715F
triadic
#157131 #311571 #713115
tetradic
#157131 #152771 #711555 #715F15
square
#157131 #152771 #711555 #715F15
split-complementary
#157131 #5F1571 #711527
monochromatic
#051A0B #0B3D1B #157131 #1FA547 #29D75E
Accessibility & contrast
On white
6.11
#157131 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#157131 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #157131
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##157131 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##157131 | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72662B
Deuteranopia (green-blind)
#685F36
Tritanopia (blue-blind)
#006F63
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #157131; /* rgb */ color: rgb(21, 113, 49); /* oklch */ color: oklch(48.2% 0.128 148.4);
Tailwind
colors: {
custom: {
50: '#649b6b',
500: '#157131',
950: '#000000',
},
}SCSS
$custom: #157131; $custom-light: #649b6b; $custom-dark: #000000;
JSON
{
"hex": "#157131",
"rgb": {
"r": 21,
"g": 113,
"b": 49
},
"hsl": {
"h": 138.261,
"s": 68.657,
"l": 26.275
},
"oklch": {
"l": 0.48226,
"c": 0.12833,
"h": 148.4
},
"luminance": 0.12191
}Semantic roles & 50–950 ramp
primary
#157131
secondary
#A73B86
accent
#3CB6EB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E07
muted
#7A7E7A