#18752F#18752F

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

Color values

HEX#18752F
RGBrgb(24, 117, 47)
HSLhsl(135, 66%, 28%)
HSVhsv(135, 79%, 46%)
CMYKcmyk(79.5%, 0%, 59.8%, 54.1%)
CIE-LABlab(42.95, -42.02, 30.79)
CIE-LCHlch(42.95, 52.09, 143.77°)
OKLaboklab(49.42% -0.1131 0.0732)
OKLCHoklch(49.42% 0.135 147.1)
XYZxyz(7.2505, 13.1212, 4.8393)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18752F #75185E
analogous
#2F7518 #18752F #18755E
triadic
#18752F #2F1875 #752F18
tetradic
#18752F #182F75 #75185E #755E18
square
#18752F #182F75 #75185E #755E18
split-complementary
#18752F #5E1875 #75182F
monochromatic
#05190A #0E421B #18752F #22A843 #32D55B

Accessibility & contrast

On white

5.79
#18752F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #18752F
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18752F#FFFFFF#000000##FFFFFF
##18752F1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A28
Deuteranopia (green-blind)
#6C6335
Tritanopia (blue-blind)
#007266
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #18752f;
/* rgb */ color: rgb(24, 117, 47);
/* oklch */ color: oklch(49.4% 0.135 147.1);
Tailwind
colors: {
  custom: {
    50: '#669e6a',
    500: '#18752f',
    950: '#000000',
  },
}
SCSS
$custom: #18752f;
$custom-light: #669e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#18752f",
  "rgb": {
    "r": 24,
    "g": 117,
    "b": 47
  },
  "hsl": {
    "h": 134.839,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49417,
    "c": 0.13467,
    "h": 147.1
  },
  "luminance": 0.13122
}

Semantic roles & 50–950 ramp

primary
#18752F
secondary
#AA3F90
accent
#3FBFE9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #18752F

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

Preview Lab → · Contrast checker → · Palette generator →

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