#18772F#18772F

#18772F is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.0% C 0.137 H 146.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#18772F
RGBrgb(24, 119, 47)
HSLhsl(135, 66%, 28%)
HSVhsv(135, 80%, 47%)
CMYKcmyk(79.8%, 0%, 60.5%, 53.3%)
CIE-LABlab(43.64, -42.75, 31.61)
CIE-LCHlch(43.64, 53.17, 143.53°)
OKLaboklab(50% -0.115 0.0749)
OKLCHoklch(50% 0.137 146.9)
XYZxyz(7.4860, 13.5922, 4.9178)
Luminance0.1359 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18772F #771860
analogous
#307718 #18772F #18775E
triadic
#18772F #2F1877 #772F18
tetradic
#18772F #183077 #771860 #775E18
square
#18772F #183077 #771860 #775E18
split-complementary
#18772F #5E1877 #771830
monochromatic
#05190A #0E441B #18772F #22AA43 #33D65B

Accessibility & contrast

On white

5.65
#18772F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#18772F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18772F
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18772F#FFFFFF#000000##FFFFFF
##18772F1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C28
Deuteranopia (green-blind)
#6E6435
Tritanopia (blue-blind)
#007467
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #18772f;
/* rgb */ color: rgb(24, 119, 47);
/* oklch */ color: oklch(50.0% 0.137 146.9);
Tailwind
colors: {
  custom: {
    50: '#669f6a',
    500: '#18772f',
    950: '#000000',
  },
}
SCSS
$custom: #18772f;
$custom-light: #669f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#18772f",
  "rgb": {
    "r": 24,
    "g": 119,
    "b": 47
  },
  "hsl": {
    "h": 134.526,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49995,
    "c": 0.1373,
    "h": 146.9
  },
  "luminance": 0.13593
}

Semantic roles & 50–950 ramp

primary
#18772F
secondary
#AC3F92
accent
#3EC0E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #18772F

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

Preview Lab → · Contrast checker → · Palette generator →

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