#18772D#18772D

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

Color values

HEX#18772D
RGBrgb(24, 119, 45)
HSLhsl(133, 66%, 28%)
HSVhsv(133, 80%, 47%)
CMYKcmyk(79.8%, 0%, 62.2%, 53.3%)
CIE-LABlab(43.62, -43.03, 32.58)
CIE-LCHlch(43.62, 53.97, 142.87°)
OKLaboklab(49.97% -0.1159 0.0769)
OKLCHoklch(49.97% 0.139 146.4)
XYZxyz(7.4466, 13.5764, 4.7102)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18772D #771862
analogous
#327718 #18772D #18775C
triadic
#18772D #2D1877 #772D18
tetradic
#18772D #183277 #771862 #775C18
square
#18772D #183277 #771862 #775C18
split-complementary
#18772D #5C1877 #771832
monochromatic
#05190A #0E441A #18772D #22AA40 #33D657

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18772D#FFFFFF#000000##FFFFFF
##18772D1.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)
#796C25
Deuteranopia (green-blind)
#6E6433
Tritanopia (blue-blind)
#007467
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #18772d;
/* rgb */ color: rgb(24, 119, 45);
/* oklch */ color: oklch(50.0% 0.139 146.4);
Tailwind
colors: {
  custom: {
    50: '#669f69',
    500: '#18772d',
    950: '#000000',
  },
}
SCSS
$custom: #18772d;
$custom-light: #669f69;
$custom-dark: #000000;
JSON
{
  "hex": "#18772d",
  "rgb": {
    "r": 24,
    "g": 119,
    "b": 45
  },
  "hsl": {
    "h": 133.263,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49968,
    "c": 0.13904,
    "h": 146.4
  },
  "luminance": 0.13577
}

Semantic roles & 50–950 ramp

primary
#18772D
secondary
#AC3F94
accent
#3EC4E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #18772D

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

Preview Lab → · Contrast checker → · Palette generator →

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