#18462C#18462C

#18462C is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.4% C 0.068 H 155.6°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#18462C
RGBrgb(24, 70, 44)
HSLhsl(146, 49%, 18%)
HSVhsv(146, 66%, 27%)
CMYKcmyk(65.7%, 0%, 37.1%, 72.5%)
CIE-LABlab(26.03, -22.77, 11.12)
CIE-LCHlch(26.03, 25.34, 153.97°)
OKLaboklab(35.44% -0.0619 0.0281)
OKLCHoklch(35.44% 0.068 155.6)
XYZxyz(3.0212, 4.7561, 3.1412)
Luminance0.0476 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18462C #461832
analogous
#1B4618 #18462C #184643
triadic
#18462C #2C1846 #462C18
tetradic
#18462C #181B46 #461832 #464318
square
#18462C #181B46 #461832 #464318
split-complementary
#18462C #431846 #46181B
monochromatic
#08170E #08180F #18462C #287449 #37A165

Accessibility & contrast

On white

10.76
#18462C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#18462C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18462C
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18462C#FFFFFF#000000##FFFFFF
##18462C1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46402A
Deuteranopia (green-blind)
#3F3C2E
Tritanopia (blue-blind)
#07453F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #18462c;
/* rgb */ color: rgb(24, 70, 44);
/* oklch */ color: oklch(35.4% 0.068 155.6);
Tailwind
colors: {
  custom: {
    50: '#5a7a65',
    500: '#18462c',
    950: '#000000',
  },
}
SCSS
$custom: #18462c;
$custom-light: #5a7a65;
$custom-dark: #000000;
JSON
{
  "hex": "#18462c",
  "rgb": {
    "r": 24,
    "g": 70,
    "b": 44
  },
  "hsl": {
    "h": 146.087,
    "s": 48.936,
    "l": 18.431
  },
  "oklch": {
    "l": 0.35442,
    "c": 0.06798,
    "h": 155.6
  },
  "luminance": 0.04756
}

Semantic roles & 50–950 ramp

primary
#18462C
secondary
#7D3D61
accent
#4F9DD8
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#040905
muted
#797B7A

Preview Lab

Preview with #18462C

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

Preview Lab → · Contrast checker → · Palette generator →

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