#12470B#12470B

#12470B is a dark, moderate green. Relative luminance 0.047; OKLCH L 35.0% C 0.105 H 141.5°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#12470B
RGBrgb(18, 71, 11)
HSLhsl(113, 73%, 16%)
HSVhsv(113, 85%, 28%)
CMYKcmyk(74.6%, 0%, 84.5%, 72.2%)
CIE-LABlab(25.74, -29.98, 28.98)
CIE-LCHlch(25.74, 41.70, 135.97°)
OKLaboklab(35% -0.0818 0.0651)
OKLCHoklch(35% 0.105 141.5)
XYZxyz(2.5630, 4.6590, 1.0807)
Luminance0.0466 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12470B #400B47
analogous
#30470B #12470B #0B4722
triadic
#12470B #0B1247 #470B12
tetradic
#12470B #0B3047 #400B47 #47220B
square
#12470B #0B3047 #400B47 #47220B
split-complementary
#12470B #220B47 #470B30
monochromatic
#071A04 #071A04 #12470B #1F7C13 #2DB11B

Accessibility & contrast

On white

10.87
#12470B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#12470B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12470B
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12470B#FFFFFF#000000##FFFFFF
##12470B1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494002
Deuteranopia (green-blind)
#433B12
Tritanopia (blue-blind)
#07453C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #12470b;
/* rgb */ color: rgb(18, 71, 11);
/* oklch */ color: oklch(35.0% 0.105 141.5);
Tailwind
colors: {
  custom: {
    50: '#597b4f',
    500: '#12470b',
    950: '#000000',
  },
}
SCSS
$custom: #12470b;
$custom-light: #597b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#12470b",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 11
  },
  "hsl": {
    "h": 113,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34997,
    "c": 0.10456,
    "h": 141.5
  },
  "luminance": 0.04659
}

Semantic roles & 50–950 ramp

primary
#12470B
secondary
#792A83
accent
#38F0DA
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #12470B

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

Preview Lab → · Contrast checker → · Palette generator →

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