#18731D#18731D

#18731D is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.146 H 143.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#18731D
RGBrgb(24, 115, 29)
HSLhsl(123, 65%, 27%)
HSVhsv(123, 79%, 45%)
CMYKcmyk(79.1%, 0%, 74.8%, 54.9%)
CIE-LABlab(42.07, -43.45, 38.21)
CIE-LCHlch(42.07, 57.86, 138.67°)
OKLaboklab(48.63% -0.1177 0.087)
OKLCHoklch(48.63% 0.146 143.5)
XYZxyz(6.7288, 12.5436, 3.2287)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18731D #73186E
analogous
#407318 #18731D #18734B
triadic
#18731D #1D1873 #731D18
tetradic
#18731D #184073 #73186E #734B18
square
#18731D #184073 #73186E #734B18
split-complementary
#18731D #4B1873 #731840
monochromatic
#051906 #0D4010 #18731D #23A62A #31D43A

Accessibility & contrast

On white

5.98
#18731D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#18731D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18731D
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18731D#FFFFFF#000000##FFFFFF
##18731D1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75680F
Deuteranopia (green-blind)
#6B6126
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #18731d;
/* rgb */ color: rgb(24, 115, 29);
/* oklch */ color: oklch(48.6% 0.146 143.5);
Tailwind
colors: {
  custom: {
    50: '#669c5f',
    500: '#18731d',
    950: '#000000',
  },
}
SCSS
$custom: #18731d;
$custom-light: #669c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#18731d",
  "rgb": {
    "r": 24,
    "g": 115,
    "b": 29
  },
  "hsl": {
    "h": 123.297,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48631,
    "c": 0.14635,
    "h": 143.5
  },
  "luminance": 0.12544
}

Semantic roles & 50–950 ramp

primary
#18731D
secondary
#A83FA2
accent
#3FDFE8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #18731D

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

Preview Lab → · Contrast checker → · Palette generator →

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