#18731E#18731E

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

Color values

HEX#18731E
RGBrgb(24, 115, 30)
HSLhsl(124, 65%, 27%)
HSVhsv(124, 79%, 45%)
CMYKcmyk(79.1%, 0%, 73.9%, 54.9%)
CIE-LABlab(42.08, -43.35, 37.81)
CIE-LCHlch(42.08, 57.52, 138.91°)
OKLaboklab(48.64% -0.1174 0.0863)
OKLCHoklch(48.64% 0.146 143.7)
XYZxyz(6.7413, 12.5486, 3.2949)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18731E #73186D
analogous
#407318 #18731E #18734C
triadic
#18731E #1E1873 #731E18
tetradic
#18731E #184073 #73186D #734C18
square
#18731E #184073 #73186D #734C18
split-complementary
#18731E #4C1873 #731840
monochromatic
#051907 #0D4011 #18731E #23A62B #31D43C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18731E#FFFFFF#000000##FFFFFF
##18731E1.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)
#756810
Deuteranopia (green-blind)
#6B6127
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #18731e;
/* rgb */ color: rgb(24, 115, 30);
/* oklch */ color: oklch(48.6% 0.146 143.7);
Tailwind
colors: {
  custom: {
    50: '#669c5f',
    500: '#18731e',
    950: '#000000',
  },
}
SCSS
$custom: #18731e;
$custom-light: #669c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#18731e",
  "rgb": {
    "r": 24,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 123.956,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.4864,
    "c": 0.14568,
    "h": 143.7
  },
  "luminance": 0.12549
}

Semantic roles & 50–950 ramp

primary
#18731E
secondary
#A83FA1
accent
#3FDDE8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #18731E

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

Preview Lab → · Contrast checker → · Palette generator →

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