#18741F#18741F

#18741F is a mid, vivid green. Relative luminance 0.128; OKLCH L 48.9% C 0.146 H 143.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#18741F
RGBrgb(24, 116, 31)
HSLhsl(125, 66%, 27%)
HSVhsv(125, 79%, 45%)
CMYKcmyk(79.3%, 0%, 73.3%, 54.5%)
CIE-LABlab(42.43, -43.61, 37.76)
CIE-LCHlch(42.43, 57.68, 139.11°)
OKLaboklab(48.94% -0.118 0.0863)
OKLCHoklch(48.94% 0.146 143.8)
XYZxyz(6.8690, 12.7831, 3.4014)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18741F #74186D
analogous
#3F7418 #18741F #18744D
triadic
#18741F #1F1874 #741F18
tetradic
#18741F #183F74 #74186D #744D18
square
#18741F #183F74 #74186D #744D18
split-complementary
#18741F #4D1874 #74183F
monochromatic
#051907 #0E4111 #18741F #22A72D #32D53E

Accessibility & contrast

On white

5.90
#18741F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#18741F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18741F
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18741F#FFFFFF#000000##FFFFFF
##18741F1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766812
Deuteranopia (green-blind)
#6C6127
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #18741f;
/* rgb */ color: rgb(24, 116, 31);
/* oklch */ color: oklch(48.9% 0.146 143.8);
Tailwind
colors: {
  custom: {
    50: '#669d60',
    500: '#18741f',
    950: '#000000',
  },
}
SCSS
$custom: #18741f;
$custom-light: #669d60;
$custom-dark: #000000;
JSON
{
  "hex": "#18741f",
  "rgb": {
    "r": 24,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 124.565,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48941,
    "c": 0.14621,
    "h": 143.8
  },
  "luminance": 0.12784
}

Semantic roles & 50–950 ramp

primary
#18741F
secondary
#A93FA1
accent
#3FDCE9
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #18741F

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

Preview Lab → · Contrast checker → · Palette generator →

#18741F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva