#18792B#18792B

#18792B is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.5% C 0.143 H 145.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#18792B
RGBrgb(24, 121, 43)
HSLhsl(132, 67%, 28%)
HSVhsv(132, 80%, 47%)
CMYKcmyk(80.2%, 0%, 64.5%, 52.5%)
CIE-LABlab(44.29, -44.01, 34.34)
CIE-LCHlch(44.29, 55.82, 142.04°)
OKLaboklab(50.52% -0.1186 0.0804)
OKLCHoklch(50.52% 0.143 145.8)
XYZxyz(7.6495, 14.0424, 4.5923)
Luminance0.1404 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18792B #791866
analogous
#357918 #18792B #18795B
triadic
#18792B #2B1879 #792B18
tetradic
#18792B #183579 #791866 #795B18
square
#18792B #183579 #791866 #795B18
split-complementary
#18792B #5B1879 #791835
monochromatic
#051A09 #0E4619 #18792B #22AC3D #35D754

Accessibility & contrast

On white

5.51
#18792B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#18792B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18792B
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18792B#FFFFFF#000000##FFFFFF
##18792B1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D22
Deuteranopia (green-blind)
#706632
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #18792b;
/* rgb */ color: rgb(24, 121, 43);
/* oklch */ color: oklch(50.5% 0.143 145.8);
Tailwind
colors: {
  custom: {
    50: '#67a167',
    500: '#18792b',
    950: '#000000',
  },
}
SCSS
$custom: #18792b;
$custom-light: #67a167;
$custom-dark: #000000;
JSON
{
  "hex": "#18792b",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 131.753,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50521,
    "c": 0.1433,
    "h": 145.8
  },
  "luminance": 0.14043
}

Semantic roles & 50–950 ramp

primary
#18792B
secondary
#AE3F98
accent
#3EC8EA
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #18792B

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

Preview Lab → · Contrast checker → · Palette generator →

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