#18772E#18772E

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

Color values

HEX#18772E
RGBrgb(24, 119, 46)
HSLhsl(134, 66%, 28%)
HSVhsv(134, 80%, 47%)
CMYKcmyk(79.8%, 0%, 61.3%, 53.3%)
CIE-LABlab(43.63, -42.89, 32.10)
CIE-LCHlch(43.63, 53.57, 143.19°)
OKLaboklab(49.98% -0.1155 0.0759)
OKLCHoklch(49.98% 0.138 146.7)
XYZxyz(7.4661, 13.5842, 4.8128)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18772E #771861
analogous
#317718 #18772E #18775D
triadic
#18772E #2E1877 #772E18
tetradic
#18772E #183177 #771861 #775D18
square
#18772E #183177 #771861 #775D18
split-complementary
#18772E #5D1877 #771831
monochromatic
#05190A #0E441A #18772E #22AA42 #33D659

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18772E#FFFFFF#000000##FFFFFF
##18772E1.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)
#796C26
Deuteranopia (green-blind)
#6E6434
Tritanopia (blue-blind)
#007467
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #18772e;
/* rgb */ color: rgb(24, 119, 46);
/* oklch */ color: oklch(50.0% 0.138 146.7);
Tailwind
colors: {
  custom: {
    50: '#669f69',
    500: '#18772e',
    950: '#000000',
  },
}
SCSS
$custom: #18772e;
$custom-light: #669f69;
$custom-dark: #000000;
JSON
{
  "hex": "#18772e",
  "rgb": {
    "r": 24,
    "g": 119,
    "b": 46
  },
  "hsl": {
    "h": 133.895,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49981,
    "c": 0.13818,
    "h": 146.7
  },
  "luminance": 0.13585
}

Semantic roles & 50–950 ramp

primary
#18772E
secondary
#AC3F93
accent
#3EC2E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #18772E

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

Preview Lab → · Contrast checker → · Palette generator →

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