#18861D#18861D

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

Color values

HEX#18861D
RGBrgb(24, 134, 29)
HSLhsl(123, 70%, 31%)
HSVhsv(123, 82%, 53%)
CMYKcmyk(82.1%, 0%, 78.4%, 47.5%)
CIE-LABlab(48.68, -49.84, 44.88)
CIE-LCHlch(48.68, 67.07, 138.00°)
OKLaboklab(54.13% -0.1351 0.1009)
OKLCHoklch(54.13% 0.169 143.2)
XYZxyz(9.1230, 17.3320, 4.0268)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18861D #861881
analogous
#4A8618 #18861D #188654
triadic
#18861D #1D1886 #861D18
tetradic
#18861D #184A86 #861881 #865418
square
#18861D #184A86 #861881 #865418
split-complementary
#18861D #541886 #86184A
monochromatic
#051E07 #0F5212 #18861D #21BA28 #3CDC44

Accessibility & contrast

On white

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

On black

4.47
#18861D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##18861D#FFFFFF#000000##FFFFFF
##18861D1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18861d;
/* rgb */ color: rgb(24, 134, 29);
/* oklch */ color: oklch(54.1% 0.169 143.2);
Tailwind
colors: {
  custom: {
    50: '#6baa61',
    500: '#18861d',
    950: '#000000',
  },
}
SCSS
$custom: #18861d;
$custom-light: #6baa61;
$custom-dark: #000000;
JSON
{
  "hex": "#18861d",
  "rgb": {
    "r": 24,
    "g": 134,
    "b": 29
  },
  "hsl": {
    "h": 122.727,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54125,
    "c": 0.16859,
    "h": 143.2
  },
  "luminance": 0.17333
}

Semantic roles & 50–950 ramp

primary
#18861D
secondary
#BA40B4
accent
#3BE4EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #18861D

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

Preview Lab → · Contrast checker → · Palette generator →

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