#12470E#12470E

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

Color values

HEX#12470E
RGBrgb(18, 71, 14)
HSLhsl(116, 67%, 17%)
HSVhsv(116, 80%, 28%)
CMYKcmyk(74.6%, 0%, 80.3%, 72.2%)
CIE-LABlab(25.76, -29.71, 27.75)
CIE-LCHlch(25.76, 40.65, 136.96°)
OKLaboklab(35.02% -0.0809 0.063)
OKLCHoklch(35.02% 0.103 142.1)
XYZxyz(2.5818, 4.6665, 1.1800)
Luminance0.0467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12470E #430E47
analogous
#2F470E #12470E #0E4727
triadic
#12470E #0E1247 #470E12
tetradic
#12470E #0E2F47 #430E47 #47270E
square
#12470E #0E2F47 #430E47 #47270E
split-complementary
#12470E #270E47 #470E2F
monochromatic
#061A05 #061A05 #12470E #1F7A18 #2CAD22

Accessibility & contrast

On white

10.86
#12470E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12470E
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12470E#FFFFFF#000000##FFFFFF
##12470E1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12470e;
/* rgb */ color: rgb(18, 71, 14);
/* oklch */ color: oklch(35.0% 0.103 142.1);
Tailwind
colors: {
  custom: {
    50: '#597b50',
    500: '#12470e',
    950: '#000000',
  },
}
SCSS
$custom: #12470e;
$custom-light: #597b50;
$custom-dark: #000000;
JSON
{
  "hex": "#12470e",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 14
  },
  "hsl": {
    "h": 115.789,
    "s": 67.059,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35023,
    "c": 0.10254,
    "h": 142.1
  },
  "luminance": 0.04667
}

Semantic roles & 50–950 ramp

primary
#12470E
secondary
#7C2F82
accent
#3EEADE
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #12470E

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

Preview Lab → · Contrast checker → · Palette generator →

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