#0A470C#0A470C

#0A470C is a dark, moderate green. Relative luminance 0.046; OKLCH L 34.8% C 0.107 H 143.2°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#0A470C
RGBrgb(10, 71, 12)
HSLhsl(122, 75%, 16%)
HSVhsv(122, 86%, 28%)
CMYKcmyk(85.9%, 0%, 83.1%, 72.2%)
CIE-LABlab(25.56, -31.53, 28.33)
CIE-LCHlch(25.56, 42.38, 138.06°)
OKLaboklab(34.79% -0.0855 0.064)
OKLCHoklch(34.79% 0.107 143.2)
XYZxyz(2.4446, 4.5973, 1.1063)
Luminance0.0460 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A470C #470A45
analogous
#26470A #0A470C #0A472A
triadic
#0A470C #0C0A47 #470C0A
tetradic
#0A470C #0A2647 #470A45 #472A0A
square
#0A470C #0A2647 #470A45 #472A0A
split-complementary
#0A470C #2A0A47 #470A26
monochromatic
#041B05 #041B05 #0A470C #127D15 #19B21E

Accessibility & contrast

On white

10.94
#0A470C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A470C
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A470C#FFFFFF#000000##FFFFFF
##0A470C1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.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: #0a470c;
/* rgb */ color: rgb(10, 71, 12);
/* oklch */ color: oklch(34.8% 0.107 143.2);
Tailwind
colors: {
  custom: {
    50: '#567b4f',
    500: '#0a470c',
    950: '#000000',
  },
}
SCSS
$custom: #0a470c;
$custom-light: #567b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#0a470c",
  "rgb": {
    "r": 10,
    "g": 71,
    "b": 12
  },
  "hsl": {
    "h": 121.967,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34791,
    "c": 0.10675,
    "h": 143.2
  },
  "luminance": 0.04598
}

Semantic roles & 50–950 ramp

primary
#0A470C
secondary
#842981
accent
#36ECF2
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#030902
muted
#787B78

Preview Lab

Preview with #0A470C

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

Preview Lab → · Contrast checker → · Palette generator →

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