#18731B#18731B

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

Color values

HEX#18731B
RGBrgb(24, 115, 27)
HSLhsl(122, 65%, 27%)
HSVhsv(122, 79%, 45%)
CMYKcmyk(79.1%, 0%, 76.5%, 54.9%)
CIE-LABlab(42.05, -43.63, 39.00)
CIE-LCHlch(42.05, 58.52, 138.21°)
OKLaboklab(48.61% -0.1183 0.0884)
OKLCHoklch(48.61% 0.148 143.2)
XYZxyz(6.7048, 12.5340, 3.1026)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18731B #731870
analogous
#437318 #18731B #187349
triadic
#18731B #1B1873 #731B18
tetradic
#18731B #184373 #731870 #734918
square
#18731B #184373 #731870 #734918
split-complementary
#18731B #491873 #731843
monochromatic
#051906 #0D400F #18731B #23A627 #31D437

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18731B#FFFFFF#000000##FFFFFF
##18731B1.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)
#76670B
Deuteranopia (green-blind)
#6B6124
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #18731b;
/* rgb */ color: rgb(24, 115, 27);
/* oklch */ color: oklch(48.6% 0.148 143.2);
Tailwind
colors: {
  custom: {
    50: '#669c5e',
    500: '#18731b',
    950: '#000000',
  },
}
SCSS
$custom: #18731b;
$custom-light: #669c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#18731b",
  "rgb": {
    "r": 24,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 121.978,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48614,
    "c": 0.14765,
    "h": 143.2
  },
  "luminance": 0.12535
}

Semantic roles & 50–950 ramp

primary
#18731B
secondary
#A83FA5
accent
#3FE3E8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #18731B

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

Preview Lab → · Contrast checker → · Palette generator →

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