Nearest named color · #2A8746
#2A8746
Nearest named color: Underclover
#2A8746 (rgb(42 135 70), hsl(138 53% 35%), oklch(0.553 0.131 149.7)) is closest to the named color Underclover. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#2A8746
oklch(0.553 0.131 149.7)
Color conversions
- HEX
- #2a8746
- RGB
- rgb(42 135 70)
- HSL
- hsl(138 53% 35%)
- HWB
- hwb(138 16% 47%)
- OKLCH
- oklch(0.553 0.131 149.7)
- OKLab
- oklab(0.553 -0.113 0.066)
- CIE Lab
- lab(49.8 -39.56 26.6)
- LCH
- lch(49.8 47.67 146.1)
- CMYK
- cmyk(69% 0% 48% 47%)
Tints · Shades · Tones
Tints
- 459358
- 5B9F6A
- 70AB7C
- 85B78E
- 99C3A0
- ADCFB3
- C2DBC5
- D6E7D8
- EAF3EC
Shades
- 23753C
- 1C6332
- 165128
- 10411E
- 0A3115
- 05210D
- 021305
- 010602
- 000100
Tones
- 38874D
- 438653
- 4C8659
- 55855F
- 5D8464
- 65846A
- 6C8370
- 738275
- 7A817B
Color harmonies
Complementary +180°
- 2A8746
Underclover
- 9C5397
≈ Hyacinth Violet
Analogous -30° +30°
- 2A8746
Underclover
- 6A7D00
≈ Topiary Garden
- 008574
≈ Summer Turquoise
Triadic +120° +240°
- 2A8746
Underclover
- 546CBF
≈ Amparo Blue
- B25042
≈ Burnt Brick
Split-complementary +150° +210°
- 2A8746
Underclover
- 7F5EB3
≈ Genestealer Purple
- AE4D70
≈ Diva Glam
Tetradic +90° +180° +270°
- 2A8746
Underclover
- 007AB4
≈ Deep River
- 9C5397
≈ Hyacinth Violet
- A85C00
≈ Raw Umber
Contrast & accessibility
Ag
AAOn white
WCAG 4.51:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.65:1 · APCA Lc 31
Best text color: #000000
WCAG 4.65:1 (AA) · APCA Lc 31
Contrast pairs
Code snippets
CSS
:root {
--underclover: #2a8746;
--underclover-rgb: 42 135 70;
--underclover-oklch: oklch(0.553 0.131 149.7);
}
.element {
color: var(--underclover);
background-color: hsl(138 53% 35%);
border-color: oklch(0.553 0.131 149.7);
}Tailwind CSS v4
@theme {
--color-underclover: #2a8746;
--color-underclover-50: #dbffe3;
--color-underclover-100: #c8f5d2;
--color-underclover-200: #abe5b9;
--color-underclover-300: #83cb96;
--color-underclover-400: #60b474;
--color-underclover-500: #369d54;
--color-underclover-600: #2f8548;
--color-underclover-700: #266b39;
--color-underclover-800: #1d4e26;
--color-underclover-900: #13361a;
--color-underclover-950: #04210a;
}SCSS
$underclover: #2a8746;
$underclover-rgb: 42, 135, 70;
$underclover-light: mix(#fff, $underclover, 20%);
$underclover-dark: mix(#000, $underclover, 20%);
.element {
color: $underclover;
box-shadow: 0 0 0 2px rgba($underclover, 0.35);
}