#18881E#18881E

#18881E is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.7% C 0.170 H 143.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#18881E
RGBrgb(24, 136, 30)
HSLhsl(123, 70%, 31%)
HSVhsv(123, 82%, 53%)
CMYKcmyk(82.4%, 0%, 77.9%, 46.7%)
CIE-LABlab(49.37, -50.42, 45.20)
CIE-LCHlch(49.37, 67.71, 138.12°)
OKLaboklab(54.7% -0.1366 0.1017)
OKLCHoklch(54.7% 0.17 143.3)
XYZxyz(9.4146, 17.8951, 4.1860)
Luminance0.1790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18881E #881882
analogous
#4A8818 #18881E #188856
triadic
#18881E #1E1888 #881E18
tetradic
#18881E #184A88 #881882 #885618
square
#18881E #184A88 #881882 #885618
split-complementary
#18881E #561888 #88184A
monochromatic
#062007 #0F5413 #18881E #21BC29 #3EDD46

Accessibility & contrast

On white

4.59
#18881E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#18881E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #18881E
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18881E#FFFFFF#000000##FFFFFF
##18881E1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A06
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#008474
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #18881e;
/* rgb */ color: rgb(24, 136, 30);
/* oklch */ color: oklch(54.7% 0.170 143.3);
Tailwind
colors: {
  custom: {
    50: '#6cac62',
    500: '#18881e',
    950: '#000000',
  },
}
SCSS
$custom: #18881e;
$custom-light: #6cac62;
$custom-dark: #000000;
JSON
{
  "hex": "#18881e",
  "rgb": {
    "r": 24,
    "g": 136,
    "b": 30
  },
  "hsl": {
    "h": 123.214,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54704,
    "c": 0.1703,
    "h": 143.3
  },
  "luminance": 0.17896
}

Semantic roles & 50–950 ramp

primary
#18881E
secondary
#BC40B5
accent
#3BE3ED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #18881E

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

Preview Lab → · Contrast checker → · Palette generator →

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