Nearest named color · #5B7512
#5B7512
Nearest named color: Topiary Green
#5B7512 (rgb(91 117 18), hsl(76 73% 26%), oklch(0.523 0.123 124.2)) is closest to the named color Topiary Green. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#5B7512
oklch(0.523 0.123 124.2)
Color conversions
- HEX
- #5b7512
- RGB
- rgb(91 117 18)
- HSL
- hsl(76 73% 26%)
- HWB
- hwb(76 7% 54%)
- OKLCH
- oklch(0.523 0.123 124.2)
- OKLab
- oklab(0.523 -0.069 0.102)
- CIE Lab
- lab(45.79 -20.24 45.86)
- LCH
- lch(45.79 50.13 113.8)
- CMYK
- cmyk(22% 0% 85% 54%)
Tints · Shades · Tones
Tints
- 6A8232
- 79904B
- 899D62
- 99AB78
- A9B98E
- BAC7A4
- CBD5BB
- DCE3D1
- EDF1E8
Shades
- 4E650E
- 41550A
- 354607
- 293704
- 1E2902
- 131C01
- 090F01
- 030500
- 000100
Tones
- 5F7625
- 627833
- 66793F
- 697A49
- 6D7B53
- 717C5D
- 757D66
- 787E6F
- 7C7F77
Color harmonies
Complementary +180°
- 5B7512
Topiary Green
- 7A55A3
≈ Royal Lavender
Analogous -30° +30°
- 5B7512
Topiary Green
- 7E6800
≈ Arousing Alligator
- 187E48
≈ Picture Book Green
Triadic +120° +240°
- 5B7512
Topiary Green
- 136FAB
≈ Planetarium
- A24761
≈ Glazed Raspberry
Split-complementary +150° +210°
- 5B7512
Topiary Green
- 5562B0
≈ Submarine Base
- 934C87
≈ Striking Purple
Tetradic +90° +180° +270°
- 5B7512
Topiary Green
- 00778A
≈ Biscay Bay
- 7A55A3
≈ Royal Lavender
- A44B37
≈ Rodeo Red
Contrast & accessibility
Ag
AAOn white
WCAG 5.25:1 · APCA Lc 76
Ag
FailOn black
WCAG 3.99:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.25:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--topiary-green: #5b7512;
--topiary-green-rgb: 91 117 18;
--topiary-green-oklch: oklch(0.523 0.123 124.2);
}
.element {
color: var(--topiary-green);
background-color: hsl(76 73% 26%);
border-color: oklch(0.523 0.123 124.2);
}Tailwind CSS v4
@theme {
--color-topiary-green: #5b7512;
--color-topiary-green-50: #ecfcd6;
--color-topiary-green-100: #ddf0c4;
--color-topiary-green-200: #c7dea5;
--color-topiary-green-300: #a7c37d;
--color-topiary-green-400: #8fab55;
--color-topiary-green-500: #759329;
--color-topiary-green-600: #637d25;
--color-topiary-green-700: #4f641e;
--color-topiary-green-800: #3b4911;
--color-topiary-green-900: #29320b;
--color-topiary-green-950: #171e01;
}SCSS
$topiary-green: #5b7512;
$topiary-green-rgb: 91, 117, 18;
$topiary-green-light: mix(#fff, $topiary-green, 20%);
$topiary-green-dark: mix(#000, $topiary-green, 20%);
.element {
color: $topiary-green;
box-shadow: 0 0 0 2px rgba($topiary-green, 0.35);
}