#12470F#12470F

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

Color values

HEX#12470F
RGBrgb(18, 71, 15)
HSLhsl(117, 65%, 17%)
HSVhsv(117, 79%, 28%)
CMYKcmyk(74.6%, 0%, 78.9%, 72.2%)
CIE-LABlab(25.77, -29.61, 27.31)
CIE-LCHlch(25.77, 40.28, 137.32°)
OKLaboklab(35.03% -0.0806 0.0622)
OKLCHoklch(35.03% 0.102 142.3)
XYZxyz(2.5888, 4.6693, 1.2167)
Luminance0.0467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12470F #440F47
analogous
#2E470F #12470F #0F4728
triadic
#12470F #0F1247 #470F12
tetradic
#12470F #0F2E47 #440F47 #47280F
square
#12470F #0F2E47 #440F47 #47280F
split-complementary
#12470F #280F47 #470F2E
monochromatic
#061905 #061905 #12470F #1F7A1A #2CAC24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12470F#FFFFFF#000000##FFFFFF
##12470F1.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)
#494006
Deuteranopia (green-blind)
#433B15
Tritanopia (blue-blind)
#06453C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #12470f;
/* rgb */ color: rgb(18, 71, 15);
/* oklch */ color: oklch(35.0% 0.102 142.3);
Tailwind
colors: {
  custom: {
    50: '#597b51',
    500: '#12470f',
    950: '#000000',
  },
}
SCSS
$custom: #12470f;
$custom-light: #597b51;
$custom-dark: #000000;
JSON
{
  "hex": "#12470f",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 116.786,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35033,
    "c": 0.10181,
    "h": 142.3
  },
  "luminance": 0.0467
}

Semantic roles & 50–950 ramp

primary
#12470F
secondary
#7D3081
accent
#40E8DF
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #12470F

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

Preview Lab → · Contrast checker → · Palette generator →

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