#18752A#18752A

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

Color values

HEX#18752A
RGBrgb(24, 117, 42)
HSLhsl(132, 66%, 28%)
HSVhsv(132, 79%, 46%)
CMYKcmyk(79.5%, 0%, 64.1%, 54.1%)
CIE-LABlab(42.89, -42.71, 33.22)
CIE-LCHlch(42.89, 54.11, 142.12°)
OKLaboklab(49.35% -0.1151 0.078)
OKLCHoklch(49.35% 0.139 145.9)
XYZxyz(7.1554, 13.0831, 4.3382)
Luminance0.1308 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18752A #751863
analogous
#347518 #18752A #187558
triadic
#18752A #2A1875 #752A18
tetradic
#18752A #183475 #751863 #755818
square
#18752A #183475 #751863 #755818
split-complementary
#18752A #581875 #751834
monochromatic
#051909 #0E4218 #18752A #22A83C #32D552

Accessibility & contrast

On white

5.81
#18752A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #18752A
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18752A#FFFFFF#000000##FFFFFF
##18752A1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18752a;
/* rgb */ color: rgb(24, 117, 42);
/* oklch */ color: oklch(49.4% 0.139 145.9);
Tailwind
colors: {
  custom: {
    50: '#669e66',
    500: '#18752a',
    950: '#000000',
  },
}
SCSS
$custom: #18752a;
$custom-light: #669e66;
$custom-dark: #000000;
JSON
{
  "hex": "#18752a",
  "rgb": {
    "r": 24,
    "g": 117,
    "b": 42
  },
  "hsl": {
    "h": 131.613,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49351,
    "c": 0.13901,
    "h": 145.9
  },
  "luminance": 0.13084
}

Semantic roles & 50–950 ramp

primary
#18752A
secondary
#AA3F95
accent
#3FC8E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #18752A

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

Preview Lab → · Contrast checker → · Palette generator →

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