#18752D#18752D

#18752D is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.4% C 0.136 H 146.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#18752D
RGBrgb(24, 117, 45)
HSLhsl(134, 66%, 28%)
HSVhsv(134, 79%, 46%)
CMYKcmyk(79.5%, 0%, 61.5%, 54.1%)
CIE-LABlab(42.92, -42.30, 31.77)
CIE-LCHlch(42.92, 52.91, 143.09°)
OKLaboklab(49.39% -0.1139 0.0751)
OKLCHoklch(49.39% 0.136 146.6)
XYZxyz(7.2111, 13.1054, 4.6317)
Luminance0.1311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18752D #751860
analogous
#327518 #18752D #18755B
triadic
#18752D #2D1875 #752D18
tetradic
#18752D #183275 #751860 #755B18
square
#18752D #183275 #751860 #755B18
split-complementary
#18752D #5B1875 #751832
monochromatic
#05190A #0E4219 #18752D #22A841 #32D557

Accessibility & contrast

On white

5.80
#18752D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#18752D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18752D
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18752D#FFFFFF#000000##FFFFFF
##18752D1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A26
Deuteranopia (green-blind)
#6C6233
Tritanopia (blue-blind)
#007265
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #18752d;
/* rgb */ color: rgb(24, 117, 45);
/* oklch */ color: oklch(49.4% 0.136 146.6);
Tailwind
colors: {
  custom: {
    50: '#669e68',
    500: '#18752d',
    950: '#000000',
  },
}
SCSS
$custom: #18752d;
$custom-light: #669e68;
$custom-dark: #000000;
JSON
{
  "hex": "#18752d",
  "rgb": {
    "r": 24,
    "g": 117,
    "b": 45
  },
  "hsl": {
    "h": 133.548,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49389,
    "c": 0.13643,
    "h": 146.6
  },
  "luminance": 0.13106
}

Semantic roles & 50–950 ramp

primary
#18752D
secondary
#AA3F92
accent
#3FC3E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #18752D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#18752D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva