#18470B#18470B

#18470B is a dark, moderate green. Relative luminance 0.047; OKLCH L 35.2% C 0.102 H 139.9°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#18470B
RGBrgb(24, 71, 11)
HSLhsl(107, 73%, 16%)
HSVhsv(107, 85%, 28%)
CMYKcmyk(66.2%, 0%, 84.5%, 72.2%)
CIE-LABlab(25.94, -28.38, 29.24)
CIE-LCHlch(25.94, 40.75, 134.14°)
OKLaboklab(35.21% -0.0779 0.0656)
OKLCHoklch(35.21% 0.102 139.9)
XYZxyz(2.6902, 4.7246, 1.0867)
Luminance0.0473 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18470B #3A0B47
analogous
#36470B #18470B #0B471C
triadic
#18470B #0B1847 #470B18
tetradic
#18470B #0B3647 #3A0B47 #471C0B
square
#18470B #0B3647 #3A0B47 #471C0B
split-complementary
#18470B #1C0B47 #470B36
monochromatic
#091A04 #091A04 #18470B #2A7C13 #3CB11B

Accessibility & contrast

On white

10.80
#18470B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18470B
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18470B#FFFFFF#000000##FFFFFF
##18470B1.0010.801.9510.80
#FFFFFF10.801.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494001
Deuteranopia (green-blind)
#433C12
Tritanopia (blue-blind)
#12443C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #18470b;
/* rgb */ color: rgb(24, 71, 11);
/* oklch */ color: oklch(35.2% 0.102 139.9);
Tailwind
colors: {
  custom: {
    50: '#5c7b4f',
    500: '#18470b',
    950: '#000000',
  },
}
SCSS
$custom: #18470b;
$custom-light: #5c7b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#18470b",
  "rgb": {
    "r": 24,
    "g": 71,
    "b": 11
  },
  "hsl": {
    "h": 107,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35214,
    "c": 0.10185,
    "h": 139.9
  },
  "luminance": 0.04725
}

Semantic roles & 50–950 ramp

primary
#18470B
secondary
#702A83
accent
#38F0C8
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #18470B

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

Preview Lab → · Contrast checker → · Palette generator →

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