#18512F#18512F

#18512F is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.083 H 153.6°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#18512F
RGBrgb(24, 81, 47)
HSLhsl(144, 54%, 21%)
HSVhsv(144, 70%, 32%)
CMYKcmyk(70.4%, 0%, 42%, 68.2%)
CIE-LABlab(30.12, -27.34, 14.73)
CIE-LCHlch(30.12, 31.05, 151.68°)
OKLaboklab(38.82% -0.0739 0.0368)
OKLCHoklch(38.82% 0.083 153.6)
XYZxyz(3.8319, 6.2839, 3.6997)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18512F #51183A
analogous
#1D5118 #18512F #18514B
triadic
#18512F #2F1851 #512F18
tetradic
#18512F #181D51 #51183A #514B18
square
#18512F #181D51 #51183A #514B18
split-complementary
#18512F #4B1851 #51181D
monochromatic
#07180E #0A2214 #18512F #26804A #34AF66

Accessibility & contrast

On white

9.31
#18512F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#18512F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18512F
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18512F#FFFFFF#000000##FFFFFF
##18512F1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A2D
Deuteranopia (green-blind)
#4A4531
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #18512f;
/* rgb */ color: rgb(24, 81, 47);
/* oklch */ color: oklch(38.8% 0.083 153.6);
Tailwind
colors: {
  custom: {
    50: '#5d8268',
    500: '#18512f',
    950: '#000000',
  },
}
SCSS
$custom: #18512f;
$custom-light: #5d8268;
$custom-dark: #000000;
JSON
{
  "hex": "#18512f",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 47
  },
  "hsl": {
    "h": 144.211,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38819,
    "c": 0.08258,
    "h": 153.6
  },
  "luminance": 0.06284
}

Semantic roles & 50–950 ramp

primary
#18512F
secondary
#883D6A
accent
#4AA2DE
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #18512F

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

Preview Lab → · Contrast checker → · Palette generator →

#18512F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva