#0A4008#0A4008

#0A4008 is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.5% C 0.100 H 142.4°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#0A4008
RGBrgb(10, 64, 8)
HSLhsl(118, 78%, 14%)
HSVhsv(118, 88%, 25%)
CMYKcmyk(84.4%, 0%, 87.5%, 74.9%)
CIE-LABlab(22.82, -29.25, 27.22)
CIE-LCHlch(22.82, 39.96, 137.05°)
OKLaboklab(32.51% -0.0795 0.0612)
OKLCHoklch(32.51% 0.1 142.4)
XYZxyz(2.0023, 3.7486, 0.8477)
Luminance0.0375 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A4008 #3E0840
analogous
#264008 #0A4008 #084022
triadic
#0A4008 #080A40 #40080A
tetradic
#0A4008 #082640 #3E0840 #402208
square
#0A4008 #082640 #3E0840 #402208
split-complementary
#0A4008 #220840 #400826
monochromatic
#041B03 #041B03 #0A4008 #13760F #1BAD16

Accessibility & contrast

On white

12.00
#0A4008 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#0A4008 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A4008
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A4008#FFFFFF#000000##FFFFFF
##0A40081.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#3C350E
Tritanopia (blue-blind)
#003E35
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #0a4008;
/* rgb */ color: rgb(10, 64, 8);
/* oklch */ color: oklch(32.5% 0.100 142.4);
Tailwind
colors: {
  custom: {
    50: '#54754c',
    500: '#0a4008',
    950: '#000000',
  },
}
SCSS
$custom: #0a4008;
$custom-light: #54754c;
$custom-dark: #000000;
JSON
{
  "hex": "#0a4008",
  "rgb": {
    "r": 10,
    "g": 64,
    "b": 8
  },
  "hsl": {
    "h": 117.857,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.3251,
    "c": 0.10031,
    "h": 142.4
  },
  "luminance": 0.03749
}

Semantic roles & 50–950 ramp

primary
#0A4008
secondary
#7B257E
accent
#34F4ED
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0A4008

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

Preview Lab → · Contrast checker → · Palette generator →

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