#18462B#18462B

#18462B is a dark, moderate green. Relative luminance 0.047; OKLCH L 35.4% C 0.069 H 154.7°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#18462B
RGBrgb(24, 70, 43)
HSLhsl(145, 49%, 18%)
HSVhsv(145, 66%, 27%)
CMYKcmyk(65.7%, 0%, 38.6%, 72.5%)
CIE-LABlab(26.01, -23.00, 11.73)
CIE-LCHlch(26.01, 25.82, 152.98°)
OKLaboklab(35.42% -0.0625 0.0295)
OKLCHoklch(35.42% 0.069 154.7)
XYZxyz(3.0026, 4.7486, 3.0434)
Luminance0.0475 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18462B #461833
analogous
#1C4618 #18462B #184642
triadic
#18462B #2B1846 #462B18
tetradic
#18462B #181C46 #461833 #464218
square
#18462B #181C46 #461833 #464218
split-complementary
#18462B #421846 #46181C
monochromatic
#08170E #08180F #18462B #287447 #37A163

Accessibility & contrast

On white

10.77
#18462B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18462B
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18462B#FFFFFF#000000##FFFFFF
##18462B1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464029
Deuteranopia (green-blind)
#403C2D
Tritanopia (blue-blind)
#08453F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #18462b;
/* rgb */ color: rgb(24, 70, 43);
/* oklch */ color: oklch(35.4% 0.069 154.7);
Tailwind
colors: {
  custom: {
    50: '#5a7a64',
    500: '#18462b',
    950: '#000000',
  },
}
SCSS
$custom: #18462b;
$custom-light: #5a7a64;
$custom-dark: #000000;
JSON
{
  "hex": "#18462b",
  "rgb": {
    "r": 24,
    "g": 70,
    "b": 43
  },
  "hsl": {
    "h": 144.783,
    "s": 48.936,
    "l": 18.431
  },
  "oklch": {
    "l": 0.35417,
    "c": 0.06909,
    "h": 154.7
  },
  "luminance": 0.04749
}

Semantic roles & 50–950 ramp

primary
#18462B
secondary
#7D3D62
accent
#4FA0D8
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#040905
muted
#797B7A

Preview Lab

Preview with #18462B

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

Preview Lab → · Contrast checker → · Palette generator →

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