#18772C#18772C

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

Color values

HEX#18772C
RGBrgb(24, 119, 44)
HSLhsl(133, 66%, 28%)
HSVhsv(133, 80%, 47%)
CMYKcmyk(79.8%, 0%, 63%, 53.3%)
CIE-LABlab(43.61, -43.16, 33.07)
CIE-LCHlch(43.61, 54.37, 142.55°)
OKLaboklab(49.96% -0.1163 0.0778)
OKLCHoklch(49.96% 0.14 146.2)
XYZxyz(7.4276, 13.5688, 4.6100)
Luminance0.1357 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18772C #771863
analogous
#337718 #18772C #18775C
triadic
#18772C #2C1877 #772C18
tetradic
#18772C #183377 #771863 #775C18
square
#18772C #183377 #771863 #775C18
split-complementary
#18772C #5C1877 #771833
monochromatic
#051909 #0E4419 #18772C #22AA3F #33D656

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18772C#FFFFFF#000000##FFFFFF
##18772C1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18772c;
/* rgb */ color: rgb(24, 119, 44);
/* oklch */ color: oklch(50.0% 0.140 146.2);
Tailwind
colors: {
  custom: {
    50: '#669f68',
    500: '#18772c',
    950: '#000000',
  },
}
SCSS
$custom: #18772c;
$custom-light: #669f68;
$custom-dark: #000000;
JSON
{
  "hex": "#18772c",
  "rgb": {
    "r": 24,
    "g": 119,
    "b": 44
  },
  "hsl": {
    "h": 132.632,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49955,
    "c": 0.1399,
    "h": 146.2
  },
  "luminance": 0.1357
}

Semantic roles & 50–950 ramp

primary
#18772C
secondary
#AC3F95
accent
#3EC5E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #18772C

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

Preview Lab → · Contrast checker → · Palette generator →

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