#18861B#18861B

#18861B is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.1% C 0.170 H 143.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#18861B
RGBrgb(24, 134, 27)
HSLhsl(122, 70%, 31%)
HSVhsv(122, 82%, 53%)
CMYKcmyk(82.1%, 0%, 79.9%, 47.5%)
CIE-LABlab(48.66, -49.99, 45.56)
CIE-LCHlch(48.66, 67.64, 137.66°)
OKLaboklab(54.11% -0.1356 0.102)
OKLCHoklch(54.11% 0.17 143)
XYZxyz(9.0990, 17.3224, 3.9007)
Luminance0.1732 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18861B #861883
analogous
#4C8618 #18861B #188652
triadic
#18861B #1B1886 #861B18
tetradic
#18861B #184C86 #861883 #865218
square
#18861B #184C86 #861883 #865218
split-complementary
#18861B #521886 #86184C
monochromatic
#051E06 #0F5211 #18861B #21BA25 #3CDC41

Accessibility & contrast

On white

4.70
#18861B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#18861B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18861B
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18861B#FFFFFF#000000##FFFFFF
##18861B1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#7D7027
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #18861b;
/* rgb */ color: rgb(24, 134, 27);
/* oklch */ color: oklch(54.1% 0.170 143.0);
Tailwind
colors: {
  custom: {
    50: '#6baa60',
    500: '#18861b',
    950: '#000000',
  },
}
SCSS
$custom: #18861b;
$custom-light: #6baa60;
$custom-dark: #000000;
JSON
{
  "hex": "#18861b",
  "rgb": {
    "r": 24,
    "g": 134,
    "b": 27
  },
  "hsl": {
    "h": 121.636,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54112,
    "c": 0.16967,
    "h": 143
  },
  "luminance": 0.17324
}

Semantic roles & 50–950 ramp

primary
#18861B
secondary
#BA40B6
accent
#3BE8EC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #18861B

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

Preview Lab → · Contrast checker → · Palette generator →

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