#0A4912#0A4912

#0A4912 is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.5% C 0.105 H 144.5°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#0A4912
RGBrgb(10, 73, 18)
HSLhsl(128, 76%, 16%)
HSVhsv(128, 86%, 29%)
CMYKcmyk(86.3%, 0%, 75.3%, 71.4%)
CIE-LABlab(26.37, -31.65, 26.48)
CIE-LCHlch(26.37, 41.27, 140.09°)
OKLaboklab(35.48% -0.0855 0.061)
OKLCHoklch(35.48% 0.105 144.5)
XYZxyz(2.6167, 4.8730, 1.3748)
Luminance0.0487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A4912 #490A41
analogous
#22490A #0A4912 #0A4932
triadic
#0A4912 #120A49 #49120A
tetradic
#0A4912 #0A2249 #490A41 #49320A
square
#0A4912 #0A2249 #490A41 #49320A
split-complementary
#0A4912 #320A49 #490A22
monochromatic
#041B07 #041B07 #0A4912 #117F1F #19B52D

Accessibility & contrast

On white

10.64
#0A4912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#0A4912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A4912
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A4912#FFFFFF#000000##FFFFFF
##0A49121.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A410A
Deuteranopia (green-blind)
#443D17
Tritanopia (blue-blind)
#00473E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0a4912;
/* rgb */ color: rgb(10, 73, 18);
/* oklch */ color: oklch(35.5% 0.105 144.5);
Tailwind
colors: {
  custom: {
    50: '#577c53',
    500: '#0a4912',
    950: '#000000',
  },
}
SCSS
$custom: #0a4912;
$custom-light: #577c53;
$custom-dark: #000000;
JSON
{
  "hex": "#0a4912",
  "rgb": {
    "r": 10,
    "g": 73,
    "b": 18
  },
  "hsl": {
    "h": 127.619,
    "s": 75.904,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35484,
    "c": 0.10501,
    "h": 144.5
  },
  "luminance": 0.04873
}

Semantic roles & 50–950 ramp

primary
#0A4912
secondary
#86297A
accent
#35DAF2
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #0A4912

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

Preview Lab → · Contrast checker → · Palette generator →

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