#12470A#12470A

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

Color values

HEX#12470A
RGBrgb(18, 71, 10)
HSLhsl(112, 75%, 16%)
HSVhsv(112, 86%, 28%)
CMYKcmyk(74.6%, 0%, 85.9%, 72.2%)
CIE-LABlab(25.73, -30.06, 29.37)
CIE-LCHlch(25.73, 42.02, 135.67°)
OKLaboklab(34.99% -0.0821 0.0658)
OKLCHoklch(34.99% 0.105 141.3)
XYZxyz(2.5573, 4.6567, 1.0512)
Luminance0.0466 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12470A #3F0A47
analogous
#30470A #12470A #0A4720
triadic
#12470A #0A1247 #470A12
tetradic
#12470A #0A3047 #3F0A47 #47200A
square
#12470A #0A3047 #3F0A47 #47200A
split-complementary
#12470A #200A47 #470A30
monochromatic
#071B04 #071B04 #12470A #207D12 #2DB219

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12470A#FFFFFF#000000##FFFFFF
##12470A1.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)
#494000
Deuteranopia (green-blind)
#433B11
Tritanopia (blue-blind)
#07443C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #12470a;
/* rgb */ color: rgb(18, 71, 10);
/* oklch */ color: oklch(35.0% 0.105 141.3);
Tailwind
colors: {
  custom: {
    50: '#597b4e',
    500: '#12470a',
    950: '#000000',
  },
}
SCSS
$custom: #12470a;
$custom-light: #597b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#12470a",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 10
  },
  "hsl": {
    "h": 112.131,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.3499,
    "c": 0.10518,
    "h": 141.3
  },
  "luminance": 0.04657
}

Semantic roles & 50–950 ramp

primary
#12470A
secondary
#782984
accent
#36F2D9
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #12470A

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

Preview Lab → · Contrast checker → · Palette generator →

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