#18741C#18741C

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

Color values

HEX#18741C
RGBrgb(24, 116, 28)
HSLhsl(123, 66%, 27%)
HSVhsv(123, 79%, 45%)
CMYKcmyk(79.3%, 0%, 75.9%, 54.5%)
CIE-LABlab(42.41, -43.89, 38.97)
CIE-LCHlch(42.41, 58.69, 138.40°)
OKLaboklab(48.92% -0.1189 0.0884)
OKLCHoklch(48.92% 0.148 143.4)
XYZxyz(6.8312, 12.7680, 3.2028)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18741C #741870
analogous
#427418 #18741C #18744A
triadic
#18741C #1C1874 #741C18
tetradic
#18741C #184274 #741870 #744A18
square
#18741C #184274 #741870 #744A18
split-complementary
#18741C #4A1874 #741842
monochromatic
#051906 #0E4110 #18741C #22A728 #32D539

Accessibility & contrast

On white

5.91
#18741C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#18741C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18741C
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18741C#FFFFFF#000000##FFFFFF
##18741C1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77680C
Deuteranopia (green-blind)
#6C6125
Tritanopia (blue-blind)
#007063
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #18741c;
/* rgb */ color: rgb(24, 116, 28);
/* oklch */ color: oklch(48.9% 0.148 143.4);
Tailwind
colors: {
  custom: {
    50: '#679d5e',
    500: '#18741c',
    950: '#000000',
  },
}
SCSS
$custom: #18741c;
$custom-light: #679d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#18741c",
  "rgb": {
    "r": 24,
    "g": 116,
    "b": 28
  },
  "hsl": {
    "h": 122.609,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48915,
    "c": 0.14822,
    "h": 143.4
  },
  "luminance": 0.12769
}

Semantic roles & 50–950 ramp

primary
#18741C
secondary
#A93FA5
accent
#3FE1E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #18741C

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

Preview Lab → · Contrast checker → · Palette generator →

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