#18731C#18731C

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

Color values

HEX#18731C
RGBrgb(24, 115, 28)
HSLhsl(123, 65%, 27%)
HSVhsv(123, 79%, 45%)
CMYKcmyk(79.1%, 0%, 75.7%, 54.9%)
CIE-LABlab(42.06, -43.54, 38.61)
CIE-LCHlch(42.06, 58.20, 138.43°)
OKLaboklab(48.62% -0.118 0.0877)
OKLCHoklch(48.62% 0.147 143.4)
XYZxyz(6.7166, 12.5387, 3.1646)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18731C #73186F
analogous
#427318 #18731C #187349
triadic
#18731C #1C1873 #731C18
tetradic
#18731C #184273 #73186F #734918
square
#18731C #184273 #73186F #734918
split-complementary
#18731C #491873 #731842
monochromatic
#051906 #0D4010 #18731C #23A628 #31D438

Accessibility & contrast

On white

5.99
#18731C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #18731C
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18731C#FFFFFF#000000##FFFFFF
##18731C1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670D
Deuteranopia (green-blind)
#6B6125
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #18731c;
/* rgb */ color: rgb(24, 115, 28);
/* oklch */ color: oklch(48.6% 0.147 143.4);
Tailwind
colors: {
  custom: {
    50: '#669c5e',
    500: '#18731c',
    950: '#000000',
  },
}
SCSS
$custom: #18731c;
$custom-light: #669c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#18731c",
  "rgb": {
    "r": 24,
    "g": 115,
    "b": 28
  },
  "hsl": {
    "h": 122.637,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48622,
    "c": 0.147,
    "h": 143.4
  },
  "luminance": 0.12539
}

Semantic roles & 50–950 ramp

primary
#18731C
secondary
#A83FA4
accent
#3FE1E8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #18731C

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

Preview Lab → · Contrast checker → · Palette generator →

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