#18772A#18772A

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

Color values

HEX#18772A
RGBrgb(24, 119, 42)
HSLhsl(131, 66%, 28%)
HSVhsv(131, 80%, 47%)
CMYKcmyk(79.8%, 0%, 64.7%, 53.3%)
CIE-LABlab(43.59, -43.42, 34.02)
CIE-LCHlch(43.59, 55.16, 141.93°)
OKLaboklab(49.93% -0.117 0.0797)
OKLCHoklch(49.93% 0.142 145.8)
XYZxyz(7.3909, 13.5541, 4.4167)
Luminance0.1356 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18772A #771865
analogous
#367718 #18772A #187759
triadic
#18772A #2A1877 #772A18
tetradic
#18772A #183677 #771865 #775918
square
#18772A #183677 #771865 #775918
split-complementary
#18772A #591877 #771836
monochromatic
#051909 #0E4418 #18772A #22AA3C #33D652

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18772A#FFFFFF#000000##FFFFFF
##18772A1.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)
#796B21
Deuteranopia (green-blind)
#6E6431
Tritanopia (blue-blind)
#007467
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #18772a;
/* rgb */ color: rgb(24, 119, 42);
/* oklch */ color: oklch(49.9% 0.142 145.8);
Tailwind
colors: {
  custom: {
    50: '#679f67',
    500: '#18772a',
    950: '#000000',
  },
}
SCSS
$custom: #18772a;
$custom-light: #679f67;
$custom-dark: #000000;
JSON
{
  "hex": "#18772a",
  "rgb": {
    "r": 24,
    "g": 119,
    "b": 42
  },
  "hsl": {
    "h": 131.368,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.4993,
    "c": 0.14158,
    "h": 145.8
  },
  "luminance": 0.13555
}

Semantic roles & 50–950 ramp

primary
#18772A
secondary
#AC3F97
accent
#3EC9E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #18772A

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

Preview Lab → · Contrast checker → · Palette generator →

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