#157F26#157F26
#157F26 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.1% C 0.155 H 144.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #157F26 |
|---|---|
| RGB | rgb(21, 127, 38) |
| HSL | hsl(130, 72%, 29%) |
| HSV | hsv(130, 83%, 50%) |
| CMYK | cmyk(83.5%, 0%, 70.1%, 50.2%) |
| CIE-LAB | lab(46.28, -47.09, 38.82) |
| CIE-LCH | lch(46.28, 61.03, 140.50°) |
| OKLab | oklab(52.14% -0.127 0.0894) |
| OKLCH | oklch(52.14% 0.155 144.9) |
| XYZ | xyz(8.2479, 15.4771, 4.3860) |
| Luminance | 0.1548 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.63
Darkish Green
#287C37
ΔE00 3.28
Green
#008000
ΔE00 3.49
Forestgreen (CSS)
#228B22
ΔE00 4.73
Jungle Green
#048243
ΔE00 5.28
Dark Grass Green
#388004
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#157F26 #7F156E
analogous
#397F15 #157F26 #157F5B
triadic
#157F26 #26157F #7F2615
tetradic
#157F26 #15397F #7F156E #7F5B15
square
#157F26 #15397F #7F156E #7F5B15
split-complementary
#157F26 #5B157F #7F1539
monochromatic
#041A08 #0C4A16 #157F26 #1EB436 #31DD4D
Accessibility & contrast
On white
5.13
#157F26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#157F26 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #157F26
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##157F26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##157F26 | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81721A
Deuteranopia (green-blind)
#766B2E
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #157f26; /* rgb */ color: rgb(21, 127, 38); /* oklch */ color: oklch(52.1% 0.155 144.9);
Tailwind
colors: {
custom: {
50: '#68a565',
500: '#157f26',
950: '#000000',
},
}SCSS
$custom: #157f26; $custom-light: #68a565; $custom-dark: #000000;
JSON
{
"hex": "#157f26",
"rgb": {
"r": 21,
"g": 127,
"b": 38
},
"hsl": {
"h": 129.623,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.52142,
"c": 0.15536,
"h": 144.9
},
"luminance": 0.15478
}Semantic roles & 50–950 ramp
primary
#157F26
secondary
#B43CA1
accent
#39D1EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A