#18531A#18531A

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

Color values

HEX#18531A
RGBrgb(24, 83, 26)
HSLhsl(122, 55%, 21%)
HSVhsv(122, 71%, 33%)
CMYKcmyk(71.1%, 0%, 68.7%, 67.5%)
CIE-LABlab(30.53, -31.79, 27.19)
CIE-LCHlch(30.53, 41.83, 139.45°)
OKLaboklab(39.06% -0.0862 0.0634)
OKLCHoklch(39.06% 0.107 143.7)
XYZxyz(3.6562, 6.4549, 2.0303)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18531A #531851
analogous
#335318 #18531A #185337
triadic
#18531A #1A1853 #531A18
tetradic
#18531A #183353 #531851 #533718
square
#18531A #183353 #531851 #533718
split-complementary
#18531A #371853 #531833
monochromatic
#071807 #0A240B #18531A #268229 #33B238

Accessibility & contrast

On white

9.17
#18531A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18531A
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18531A#FFFFFF#000000##FFFFFF
##18531A1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B13
Deuteranopia (green-blind)
#4E461F
Tritanopia (blue-blind)
#0A5147
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #18531a;
/* rgb */ color: rgb(24, 83, 26);
/* oklch */ color: oklch(39.1% 0.107 143.7);
Tailwind
colors: {
  custom: {
    50: '#5e8459',
    500: '#18531a',
    950: '#000000',
  },
}
SCSS
$custom: #18531a;
$custom-light: #5e8459;
$custom-dark: #000000;
JSON
{
  "hex": "#18531a",
  "rgb": {
    "r": 24,
    "g": 83,
    "b": 26
  },
  "hsl": {
    "h": 122.034,
    "s": 55.14,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39058,
    "c": 0.10701,
    "h": 143.7
  },
  "luminance": 0.06455
}

Semantic roles & 50–950 ramp

primary
#18531A
secondary
#8A3D87
accent
#49D9DE
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #18531A

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

Preview Lab → · Contrast checker → · Palette generator →

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