#18841F#18841F

#18841F is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.6% C 0.165 H 143.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#18841F
RGBrgb(24, 132, 31)
HSLhsl(124, 69%, 31%)
HSVhsv(124, 82%, 52%)
CMYKcmyk(81.8%, 0%, 76.5%, 48.2%)
CIE-LABlab(48.00, -49.03, 43.47)
CIE-LCHlch(48.00, 65.53, 138.44°)
OKLaboklab(53.57% -0.1328 0.0983)
OKLCHoklch(53.57% 0.165 143.5)
XYZxyz(8.8747, 16.7946, 4.0700)
Luminance0.1680 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18841F #84187D
analogous
#478418 #18841F #188455
triadic
#18841F #1F1884 #841F18
tetradic
#18841F #184784 #84187D #845518
square
#18841F #184784 #84187D #845518
split-complementary
#18841F #551884 #841847
monochromatic
#051C07 #0F5013 #18841F #21B82B #3BDB45

Accessibility & contrast

On white

4.82
#18841F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#18841F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18841F
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18841F#FFFFFF#000000##FFFFFF
##18841F1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770B
Deuteranopia (green-blind)
#7B6F2A
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #18841f;
/* rgb */ color: rgb(24, 132, 31);
/* oklch */ color: oklch(53.6% 0.165 143.5);
Tailwind
colors: {
  custom: {
    50: '#6ba962',
    500: '#18841f',
    950: '#000000',
  },
}
SCSS
$custom: #18841f;
$custom-light: #6ba962;
$custom-dark: #000000;
JSON
{
  "hex": "#18841f",
  "rgb": {
    "r": 24,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 123.889,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53568,
    "c": 0.16516,
    "h": 143.5
  },
  "luminance": 0.16796
}

Semantic roles & 50–950 ramp

primary
#18841F
secondary
#B840B0
accent
#3CE1EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #18841F

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

Preview Lab → · Contrast checker → · Palette generator →

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