#12470D#12470D

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

Color values

HEX#12470D
RGBrgb(18, 71, 13)
HSLhsl(115, 69%, 16%)
HSVhsv(115, 82%, 28%)
CMYKcmyk(74.6%, 0%, 81.7%, 72.2%)
CIE-LABlab(25.75, -29.80, 28.17)
CIE-LCHlch(25.75, 41.01, 136.61°)
OKLaboklab(35.01% -0.0812 0.0637)
OKLCHoklch(35.01% 0.103 141.9)
XYZxyz(2.5752, 4.6639, 1.1452)
Luminance0.0466 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12470D #420D47
analogous
#2F470D #12470D #0D4725
triadic
#12470D #0D1247 #470D12
tetradic
#12470D #0D2F47 #420D47 #47250D
square
#12470D #0D2F47 #420D47 #47250D
split-complementary
#12470D #250D47 #470D2F
monochromatic
#071A05 #071A05 #12470D #1F7B16 #2CAE20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12470D#FFFFFF#000000##FFFFFF
##12470D1.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)
#494004
Deuteranopia (green-blind)
#433B13
Tritanopia (blue-blind)
#07453C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #12470d;
/* rgb */ color: rgb(18, 71, 13);
/* oklch */ color: oklch(35.0% 0.103 141.9);
Tailwind
colors: {
  custom: {
    50: '#597b50',
    500: '#12470d',
    950: '#000000',
  },
}
SCSS
$custom: #12470d;
$custom-light: #597b50;
$custom-dark: #000000;
JSON
{
  "hex": "#12470d",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 13
  },
  "hsl": {
    "h": 114.828,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35014,
    "c": 0.10325,
    "h": 141.9
  },
  "luminance": 0.04664
}

Semantic roles & 50–950 ramp

primary
#12470D
secondary
#7B2D82
accent
#3CECDD
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #12470D

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

Preview Lab → · Contrast checker → · Palette generator →

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