#0A4E12#0A4E12

#0A4E12 is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.1% C 0.112 H 144.3°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#0A4E12
RGBrgb(10, 78, 18)
HSLhsl(127, 77%, 17%)
HSVhsv(127, 87%, 31%)
CMYKcmyk(87.2%, 0%, 76.9%, 69.4%)
CIE-LABlab(28.27, -33.51, 28.49)
CIE-LCHlch(28.27, 43.99, 139.63°)
OKLaboklab(37.06% -0.0906 0.0652)
OKLCHoklch(37.06% 0.112 144.3)
XYZxyz(2.9585, 5.5566, 1.4888)
Luminance0.0556 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A4E12 #4E0A46
analogous
#244E0A #0A4E12 #0A4E34
triadic
#0A4E12 #120A4E #4E120A
tetradic
#0A4E12 #0A244E #4E0A46 #4E340A
square
#0A4E12 #0A244E #4E0A46 #4E340A
split-complementary
#0A4E12 #340A4E #4E0A24
monochromatic
#031B06 #031B06 #0A4E12 #11841F #18BA2B

Accessibility & contrast

On white

9.95
#0A4E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#0A4E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A4E12
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A4E12#FFFFFF#000000##FFFFFF
##0A4E121.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504609
Deuteranopia (green-blind)
#484118
Tritanopia (blue-blind)
#004C42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0a4e12;
/* rgb */ color: rgb(10, 78, 18);
/* oklch */ color: oklch(37.1% 0.112 144.3);
Tailwind
colors: {
  custom: {
    50: '#588054',
    500: '#0a4e12',
    950: '#000000',
  },
}
SCSS
$custom: #0a4e12;
$custom-light: #588054;
$custom-dark: #000000;
JSON
{
  "hex": "#0a4e12",
  "rgb": {
    "r": 10,
    "g": 78,
    "b": 18
  },
  "hsl": {
    "h": 127.059,
    "s": 77.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37059,
    "c": 0.11158,
    "h": 144.3
  },
  "luminance": 0.05557
}

Semantic roles & 50–950 ramp

primary
#0A4E12
secondary
#8B297F
accent
#34DDF4
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A03
muted
#797C78

Preview Lab

Preview with #0A4E12

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

Preview Lab → · Contrast checker → · Palette generator →

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