#18512E#18512E

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

Color values

HEX#18512E
RGBrgb(24, 81, 46)
HSLhsl(143, 54%, 21%)
HSVhsv(143, 70%, 32%)
CMYKcmyk(70.4%, 0%, 43.2%, 68.2%)
CIE-LABlab(30.10, -27.55, 15.32)
CIE-LCHlch(30.10, 31.52, 150.92°)
OKLaboklab(38.8% -0.0745 0.0381)
OKLCHoklch(38.8% 0.084 152.9)
XYZxyz(3.8119, 6.2759, 3.5947)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18512E #51183B
analogous
#1E5118 #18512E #18514A
triadic
#18512E #2E1851 #512E18
tetradic
#18512E #181E51 #51183B #514A18
square
#18512E #181E51 #51183B #514A18
split-complementary
#18512E #4A1851 #51181E
monochromatic
#07180D #0A2213 #18512E #268049 #34AF64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18512E#FFFFFF#000000##FFFFFF
##18512E1.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)
#514A2C
Deuteranopia (green-blind)
#4A4530
Tritanopia (blue-blind)
#015048
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #18512e;
/* rgb */ color: rgb(24, 81, 46);
/* oklch */ color: oklch(38.8% 0.084 152.9);
Tailwind
colors: {
  custom: {
    50: '#5d8267',
    500: '#18512e',
    950: '#000000',
  },
}
SCSS
$custom: #18512e;
$custom-light: #5d8267;
$custom-dark: #000000;
JSON
{
  "hex": "#18512e",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 46
  },
  "hsl": {
    "h": 143.158,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38796,
    "c": 0.08366,
    "h": 152.9
  },
  "luminance": 0.06276
}

Semantic roles & 50–950 ramp

primary
#18512E
secondary
#883D6B
accent
#4AA5DE
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #18512E

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

Preview Lab → · Contrast checker → · Palette generator →

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