#18470C#18470C

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

Color values

HEX#18470C
RGBrgb(24, 71, 12)
HSLhsl(108, 71%, 16%)
HSVhsv(108, 83%, 28%)
CMYKcmyk(66.2%, 0%, 83.1%, 72.2%)
CIE-LABlab(25.94, -28.30, 28.84)
CIE-LCHlch(25.94, 40.41, 134.45°)
OKLaboklab(35.22% -0.0776 0.0649)
OKLCHoklch(35.22% 0.101 140.1)
XYZxyz(2.6962, 4.7270, 1.1181)
Luminance0.0473 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18470C #3B0C47
analogous
#36470C #18470C #0C471E
triadic
#18470C #0C1847 #470C18
tetradic
#18470C #0C3647 #3B0C47 #471E0C
square
#18470C #0C3647 #3B0C47 #471E0C
split-complementary
#18470C #1E0C47 #470C36
monochromatic
#091A04 #091A04 #18470C #2A7B15 #3BB01E

Accessibility & contrast

On white

10.79
#18470C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18470C
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18470C#FFFFFF#000000##FFFFFF
##18470C1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18470c;
/* rgb */ color: rgb(24, 71, 12);
/* oklch */ color: oklch(35.2% 0.101 140.1);
Tailwind
colors: {
  custom: {
    50: '#5c7b4f',
    500: '#18470c',
    950: '#000000',
  },
}
SCSS
$custom: #18470c;
$custom-light: #5c7b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#18470c",
  "rgb": {
    "r": 24,
    "g": 71,
    "b": 12
  },
  "hsl": {
    "h": 107.797,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35222,
    "c": 0.1012,
    "h": 140.1
  },
  "luminance": 0.04727
}

Semantic roles & 50–950 ramp

primary
#18470C
secondary
#712C83
accent
#3AEEC9
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #18470C

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

Preview Lab → · Contrast checker → · Palette generator →

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