#18861E#18861E

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

Color values

HEX#18861E
RGBrgb(24, 134, 30)
HSLhsl(123, 70%, 31%)
HSVhsv(123, 82%, 53%)
CMYKcmyk(82.1%, 0%, 77.6%, 47.5%)
CIE-LABlab(48.68, -49.77, 44.52)
CIE-LCHlch(48.68, 66.78, 138.18°)
OKLaboklab(54.13% -0.1348 0.1003)
OKLCHoklch(54.13% 0.168 143.4)
XYZxyz(9.1355, 17.3370, 4.0930)
Luminance0.1734 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18861E #861880
analogous
#498618 #18861E #188655
triadic
#18861E #1E1886 #861E18
tetradic
#18861E #184986 #861880 #865518
square
#18861E #184986 #861880 #865518
split-complementary
#18861E #551886 #861849
monochromatic
#051E07 #0F5212 #18861E #21BA2A #3CDC45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18861E#FFFFFF#000000##FFFFFF
##18861E1.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)
#897907
Deuteranopia (green-blind)
#7D702A
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #18861e;
/* rgb */ color: rgb(24, 134, 30);
/* oklch */ color: oklch(54.1% 0.168 143.4);
Tailwind
colors: {
  custom: {
    50: '#6baa62',
    500: '#18861e',
    950: '#000000',
  },
}
SCSS
$custom: #18861e;
$custom-light: #6baa62;
$custom-dark: #000000;
JSON
{
  "hex": "#18861e",
  "rgb": {
    "r": 24,
    "g": 134,
    "b": 30
  },
  "hsl": {
    "h": 123.273,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54133,
    "c": 0.16803,
    "h": 143.4
  },
  "luminance": 0.17338
}

Semantic roles & 50–950 ramp

primary
#18861E
secondary
#BA40B3
accent
#3BE3EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #18861E

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

Preview Lab → · Contrast checker → · Palette generator →

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