#18741B#18741B

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

Color values

HEX#18741B
RGBrgb(24, 116, 27)
HSLhsl(122, 66%, 27%)
HSVhsv(122, 79%, 45%)
CMYKcmyk(79.3%, 0%, 76.7%, 54.5%)
CIE-LABlab(42.40, -43.98, 39.36)
CIE-LCHlch(42.40, 59.02, 138.17°)
OKLaboklab(48.91% -0.1192 0.0891)
OKLCHoklch(48.91% 0.149 143.2)
XYZxyz(6.8195, 12.7633, 3.1409)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18741B #741871
analogous
#437418 #18741B #187449
triadic
#18741B #1B1874 #741B18
tetradic
#18741B #184374 #741871 #744918
square
#18741B #184374 #741871 #744918
split-complementary
#18741B #491874 #741843
monochromatic
#051906 #0E410F #18741B #22A727 #32D537

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #18741b;
/* rgb */ color: rgb(24, 116, 27);
/* oklch */ color: oklch(48.9% 0.149 143.2);
Tailwind
colors: {
  custom: {
    50: '#679d5e',
    500: '#18741b',
    950: '#000000',
  },
}
SCSS
$custom: #18741b;
$custom-light: #679d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#18741b",
  "rgb": {
    "r": 24,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 121.957,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48907,
    "c": 0.14885,
    "h": 143.2
  },
  "luminance": 0.12764
}

Semantic roles & 50–950 ramp

primary
#18741B
secondary
#A93FA6
accent
#3FE3E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #18741B

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

Preview Lab → · Contrast checker → · Palette generator →

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