#18741A#18741A

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

Color values

HEX#18741A
RGBrgb(24, 116, 26)
HSLhsl(121, 66%, 27%)
HSVhsv(121, 79%, 45%)
CMYKcmyk(79.3%, 0%, 77.6%, 54.5%)
CIE-LABlab(42.40, -44.06, 39.74)
CIE-LCHlch(42.40, 59.34, 137.95°)
OKLaboklab(48.9% -0.1195 0.0898)
OKLCHoklch(48.9% 0.149 143.1)
XYZxyz(6.8081, 12.7588, 3.0810)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18741A #741872
analogous
#447418 #18741A #187448
triadic
#18741A #1A1874 #741A18
tetradic
#18741A #184474 #741872 #744818
square
#18741A #184474 #741872 #744818
split-complementary
#18741A #481874 #741844
monochromatic
#051906 #0E410F #18741A #22A725 #32D535

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18741A#FFFFFF#000000##FFFFFF
##18741A1.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)
#776808
Deuteranopia (green-blind)
#6C6124
Tritanopia (blue-blind)
#007063
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #18741a;
/* rgb */ color: rgb(24, 116, 26);
/* oklch */ color: oklch(48.9% 0.149 143.1);
Tailwind
colors: {
  custom: {
    50: '#679d5d',
    500: '#18741a',
    950: '#000000',
  },
}
SCSS
$custom: #18741a;
$custom-light: #679d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#18741a",
  "rgb": {
    "r": 24,
    "g": 116,
    "b": 26
  },
  "hsl": {
    "h": 121.304,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48899,
    "c": 0.14946,
    "h": 143.1
  },
  "luminance": 0.1276
}

Semantic roles & 50–950 ramp

primary
#18741A
secondary
#A93FA7
accent
#3FE5E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #18741A

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

Preview Lab → · Contrast checker → · Palette generator →

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