#157F13#157F13
#157F13 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.0% C 0.166 H 142.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #157F13 |
|---|---|
| RGB | rgb(21, 127, 19) |
| HSL | hsl(119, 74%, 29%) |
| HSV | hsv(119, 85%, 50%) |
| CMYK | cmyk(83.5%, 0%, 85%, 50.2%) |
| CIE-LAB | lab(46.16, -48.65, 45.68) |
| CIE-LCH | lch(46.16, 66.74, 136.80°) |
| OKLab | oklab(52% -0.1321 0.1012) |
| OKLCH | oklch(52% 0.166 142.6) |
| XYZ | xyz(8.0157, 15.3842, 3.1630) |
| Luminance | 0.1538 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Green
#008000
ΔE00 1.30
Tree Green
#2A7E19
ΔE00 1.43
Dark Grass Green
#388004
ΔE00 3.69
Forestgreen (CSS)
#228B22
ΔE00 4.43
Darkish Green
#287C37
ΔE00 5.37
Emerald Green
#028F1E
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#157F13 #7D137F
analogous
#4B7F13 #157F13 #137F47
triadic
#157F13 #13157F #7F1315
tetradic
#157F13 #134B7F #7D137F #7F4713
square
#157F13 #134B7F #7D137F #7F4713
split-complementary
#157F13 #47137F #7F134B
monochromatic
#041B04 #0C4A0B #157F13 #1EB41B #30E02D
Accessibility & contrast
On white
5.15
#157F13 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#157F13 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #157F13
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##157F13 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##157F13 | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776A21
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #157f13; /* rgb */ color: rgb(21, 127, 19); /* oklch */ color: oklch(52.0% 0.166 142.6);
Tailwind
colors: {
custom: {
50: '#69a55c',
500: '#157f13',
950: '#000000',
},
}SCSS
$custom: #157f13; $custom-light: #69a55c; $custom-dark: #000000;
JSON
{
"hex": "#157f13",
"rgb": {
"r": 21,
"g": 127,
"b": 19
},
"hsl": {
"h": 118.889,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.51998,
"c": 0.16641,
"h": 142.6
},
"luminance": 0.15385
}Semantic roles & 50–950 ramp
primary
#157F13
secondary
#B239B4
accent
#37F1ED
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79