#18731A#18731A

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

Color values

HEX#18731A
RGBrgb(24, 115, 26)
HSLhsl(121, 65%, 27%)
HSVhsv(121, 79%, 45%)
CMYKcmyk(79.1%, 0%, 77.4%, 54.9%)
CIE-LABlab(42.05, -43.72, 39.39)
CIE-LCHlch(42.05, 58.84, 137.98°)
OKLaboklab(48.61% -0.1186 0.089)
OKLCHoklch(48.61% 0.148 143.1)
XYZxyz(6.6935, 12.5295, 3.0427)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18731A #731871
analogous
#437318 #18731A #187348
triadic
#18731A #1A1873 #731A18
tetradic
#18731A #184373 #731871 #734818
square
#18731A #184373 #731871 #734818
split-complementary
#18731A #481873 #731843
monochromatic
#051906 #0D400F #18731A #23A625 #31D435

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18731A#FFFFFF#000000##FFFFFF
##18731A1.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)
#766709
Deuteranopia (green-blind)
#6C6124
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #18731a;
/* rgb */ color: rgb(24, 115, 26);
/* oklch */ color: oklch(48.6% 0.148 143.1);
Tailwind
colors: {
  custom: {
    50: '#669c5d',
    500: '#18731a',
    950: '#000000',
  },
}
SCSS
$custom: #18731a;
$custom-light: #669c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#18731a",
  "rgb": {
    "r": 24,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 121.319,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48606,
    "c": 0.14827,
    "h": 143.1
  },
  "luminance": 0.1253
}

Semantic roles & 50–950 ramp

primary
#18731A
secondary
#A83FA6
accent
#3FE5E8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #18731A

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

Preview Lab → · Contrast checker → · Palette generator →

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