#18772B#18772B

#18772B is a mid, vivid green. Relative luminance 0.136; OKLCH L 49.9% C 0.141 H 146.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#18772B
RGBrgb(24, 119, 43)
HSLhsl(132, 66%, 28%)
HSVhsv(132, 80%, 47%)
CMYKcmyk(79.8%, 0%, 63.9%, 53.3%)
CIE-LABlab(43.60, -43.30, 33.54)
CIE-LCHlch(43.60, 54.77, 142.23°)
OKLaboklab(49.94% -0.1166 0.0788)
OKLCHoklch(49.94% 0.141 146)
XYZxyz(7.4090, 13.5614, 4.5122)
Luminance0.1356 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18772B #771864
analogous
#347718 #18772B #18775A
triadic
#18772B #2B1877 #772B18
tetradic
#18772B #183477 #771864 #775A18
square
#18772B #183477 #771864 #775A18
split-complementary
#18772B #5A1877 #771834
monochromatic
#051909 #0E4419 #18772B #22AA3D #33D654

Accessibility & contrast

On white

5.66
#18772B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#18772B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18772B
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18772B#FFFFFF#000000##FFFFFF
##18772B1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18772b;
/* rgb */ color: rgb(24, 119, 43);
/* oklch */ color: oklch(49.9% 0.141 146.0);
Tailwind
colors: {
  custom: {
    50: '#679f67',
    500: '#18772b',
    950: '#000000',
  },
}
SCSS
$custom: #18772b;
$custom-light: #679f67;
$custom-dark: #000000;
JSON
{
  "hex": "#18772b",
  "rgb": {
    "r": 24,
    "g": 119,
    "b": 43
  },
  "hsl": {
    "h": 132,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49943,
    "c": 0.14074,
    "h": 146
  },
  "luminance": 0.13562
}

Semantic roles & 50–950 ramp

primary
#18772B
secondary
#AC3F96
accent
#3EC7E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #18772B

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

Preview Lab → · Contrast checker → · Palette generator →

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