#18531C#18531C

#18531C is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.1% C 0.105 H 144.3°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#18531C
RGBrgb(24, 83, 28)
HSLhsl(124, 55%, 21%)
HSVhsv(124, 71%, 33%)
CMYKcmyk(71.1%, 0%, 66.3%, 67.5%)
CIE-LABlab(30.55, -31.53, 26.19)
CIE-LCHlch(30.55, 40.99, 140.28°)
OKLaboklab(39.08% -0.0854 0.0615)
OKLCHoklch(39.08% 0.105 144.3)
XYZxyz(3.6793, 6.4642, 2.1522)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18531C #53184F
analogous
#315318 #18531C #185339
triadic
#18531C #1C1853 #531C18
tetradic
#18531C #183153 #53184F #533918
square
#18531C #183153 #53184F #533918
split-complementary
#18531C #391853 #531831
monochromatic
#071808 #0A240C #18531C #26822C #33B23C

Accessibility & contrast

On white

9.16
#18531C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#18531C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18531C
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18531C#FFFFFF#000000##FFFFFF
##18531C1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B16
Deuteranopia (green-blind)
#4D4621
Tritanopia (blue-blind)
#095147
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #18531c;
/* rgb */ color: rgb(24, 83, 28);
/* oklch */ color: oklch(39.1% 0.105 144.3);
Tailwind
colors: {
  custom: {
    50: '#5e845a',
    500: '#18531c',
    950: '#000000',
  },
}
SCSS
$custom: #18531c;
$custom-light: #5e845a;
$custom-dark: #000000;
JSON
{
  "hex": "#18531c",
  "rgb": {
    "r": 24,
    "g": 83,
    "b": 28
  },
  "hsl": {
    "h": 124.068,
    "s": 55.14,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39083,
    "c": 0.10522,
    "h": 144.3
  },
  "luminance": 0.06465
}

Semantic roles & 50–950 ramp

primary
#18531C
secondary
#8A3D85
accent
#49D4DE
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #18531C

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

Preview Lab → · Contrast checker → · Palette generator →

#18531C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva