#0D470C#0D470C

#0D470C is a dark, moderate green. Relative luminance 0.046; OKLCH L 34.9% C 0.106 H 142.7°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#0D470C
RGBrgb(13, 71, 12)
HSLhsl(119, 71%, 16%)
HSVhsv(119, 83%, 28%)
CMYKcmyk(81.7%, 0%, 83.1%, 72.2%)
CIE-LABlab(25.62, -30.98, 28.41)
CIE-LCHlch(25.62, 42.04, 137.48°)
OKLaboklab(34.86% -0.0842 0.0641)
OKLCHoklch(34.86% 0.106 142.7)
XYZxyz(2.4854, 4.6183, 1.1082)
Luminance0.0462 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D470C #460C47
analogous
#2B470C #0D470C #0C4729
triadic
#0D470C #0C0D47 #470C0D
tetradic
#0D470C #0C2B47 #460C47 #47290C
square
#0D470C #0C2B47 #460C47 #47290C
split-complementary
#0D470C #290C47 #470C2B
monochromatic
#051A04 #051A04 #0D470C #177B15 #20B01E

Accessibility & contrast

On white

10.92
#0D470C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#0D470C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D470C
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D470C#FFFFFF#000000##FFFFFF
##0D470C1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F03
Deuteranopia (green-blind)
#423B12
Tritanopia (blue-blind)
#00453C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0d470c;
/* rgb */ color: rgb(13, 71, 12);
/* oklch */ color: oklch(34.9% 0.106 142.7);
Tailwind
colors: {
  custom: {
    50: '#577b4f',
    500: '#0d470c',
    950: '#000000',
  },
}
SCSS
$custom: #0d470c;
$custom-light: #577b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d470c",
  "rgb": {
    "r": 13,
    "g": 71,
    "b": 12
  },
  "hsl": {
    "h": 118.983,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34862,
    "c": 0.1058,
    "h": 142.7
  },
  "luminance": 0.04619
}

Semantic roles & 50–950 ramp

primary
#0D470C
secondary
#812C83
accent
#3AEEEB
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #0D470C

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

Preview Lab → · Contrast checker → · Palette generator →

#0D470C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva