#0A4012#0A4012

#0A4012 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.6% C 0.093 H 145.1°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#0A4012
RGBrgb(10, 64, 18)
HSLhsl(129, 73%, 15%)
HSVhsv(129, 84%, 25%)
CMYKcmyk(84.4%, 0%, 71.9%, 74.9%)
CIE-LABlab(22.91, -28.15, 22.68)
CIE-LCHlch(22.91, 36.15, 141.14°)
OKLaboklab(32.61% -0.076 0.0529)
OKLCHoklch(32.61% 0.093 145.1)
XYZxyz(2.0676, 3.7748, 1.1918)
Luminance0.0377 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A4012 #400A38
analogous
#1D400A #0A4012 #0A402D
triadic
#0A4012 #120A40 #40120A
tetradic
#0A4012 #0A1D40 #400A38 #402D0A
square
#0A4012 #0A1D40 #400A38 #402D0A
split-complementary
#0A4012 #2D0A40 #400A1D
monochromatic
#041A07 #041A07 #0A4012 #127521 #1BAA30

Accessibility & contrast

On white

11.97
#0A4012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#0A4012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A4012
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A4012#FFFFFF#000000##FFFFFF
##0A40121.0011.971.7611.97
#FFFFFF11.971.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390D
Deuteranopia (green-blind)
#3B3516
Tritanopia (blue-blind)
#003E36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0a4012;
/* rgb */ color: rgb(10, 64, 18);
/* oklch */ color: oklch(32.6% 0.093 145.1);
Tailwind
colors: {
  custom: {
    50: '#547552',
    500: '#0a4012',
    950: '#000000',
  },
}
SCSS
$custom: #0a4012;
$custom-light: #547552;
$custom-dark: #000000;
JSON
{
  "hex": "#0a4012",
  "rgb": {
    "r": 10,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 128.889,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32614,
    "c": 0.09259,
    "h": 145.1
  },
  "luminance": 0.03775
}

Semantic roles & 50–950 ramp

primary
#0A4012
secondary
#7D2971
accent
#38D4F0
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #0A4012

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

Preview Lab → · Contrast checker → · Palette generator →

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