#18842F#18842F

#18842F is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.7% C 0.154 H 146.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#18842F
RGBrgb(24, 132, 47)
HSLhsl(133, 69%, 31%)
HSVhsv(133, 82%, 52%)
CMYKcmyk(81.8%, 0%, 64.4%, 48.2%)
CIE-LABlab(48.13, -47.37, 36.78)
CIE-LCHlch(48.13, 59.97, 142.17°)
OKLaboklab(53.72% -0.1275 0.0861)
OKLCHoklch(53.72% 0.154 146)
XYZxyz(9.1404, 16.9008, 5.4692)
Luminance0.1690 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18842F #84186D
analogous
#378418 #18842F #188465
triadic
#18842F #2F1884 #842F18
tetradic
#18842F #183784 #84186D #846518
square
#18842F #183784 #84186D #846518
split-complementary
#18842F #651884 #841837
monochromatic
#051C0A #0F501D #18842F #21B841 #3BDB5D

Accessibility & contrast

On white

4.79
#18842F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#18842F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18842F
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18842F#FFFFFF#000000##FFFFFF
##18842F1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867725
Deuteranopia (green-blind)
#7A6F36
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #18842f;
/* rgb */ color: rgb(24, 132, 47);
/* oklch */ color: oklch(53.7% 0.154 146.0);
Tailwind
colors: {
  custom: {
    50: '#6aa96b',
    500: '#18842f',
    950: '#000000',
  },
}
SCSS
$custom: #18842f;
$custom-light: #6aa96b;
$custom-dark: #000000;
JSON
{
  "hex": "#18842f",
  "rgb": {
    "r": 24,
    "g": 132,
    "b": 47
  },
  "hsl": {
    "h": 132.778,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53723,
    "c": 0.15388,
    "h": 146
  },
  "luminance": 0.16902
}

Semantic roles & 50–950 ramp

primary
#18842F
secondary
#B8409E
accent
#3CC7EC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #18842F

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

Preview Lab → · Contrast checker → · Palette generator →

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