#0A4212#0A4212

#0A4212 is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.3% C 0.095 H 145.0°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#0A4212
RGBrgb(10, 66, 18)
HSLhsl(129, 74%, 15%)
HSVhsv(129, 85%, 26%)
CMYKcmyk(84.8%, 0%, 72.7%, 74.1%)
CIE-LABlab(23.69, -28.95, 23.55)
CIE-LCHlch(23.69, 37.31, 140.87°)
OKLaboklab(33.26% -0.0781 0.0548)
OKLCHoklch(33.26% 0.095 145)
XYZxyz(2.1824, 4.0044, 1.2301)
Luminance0.0401 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A4212 #420A3A
analogous
#1E420A #0A4212 #0A422E
triadic
#0A4212 #120A42 #42120A
tetradic
#0A4212 #0A1E42 #420A3A #422E0A
square
#0A4212 #0A1E42 #420A3A #422E0A
split-complementary
#0A4212 #2E0A42 #420A1E
monochromatic
#041B07 #041B07 #0A4212 #127720 #1AAC2F

Accessibility & contrast

On white

11.66
#0A4212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#0A4212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A4212
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A4212#FFFFFF#000000##FFFFFF
##0A42121.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0C
Deuteranopia (green-blind)
#3D3716
Tritanopia (blue-blind)
#004038
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0a4212;
/* rgb */ color: rgb(10, 66, 18);
/* oklch */ color: oklch(33.3% 0.095 145.0);
Tailwind
colors: {
  custom: {
    50: '#547752',
    500: '#0a4212',
    950: '#000000',
  },
}
SCSS
$custom: #0a4212;
$custom-light: #547752;
$custom-dark: #000000;
JSON
{
  "hex": "#0a4212",
  "rgb": {
    "r": 10,
    "g": 66,
    "b": 18
  },
  "hsl": {
    "h": 128.571,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33255,
    "c": 0.09543,
    "h": 145
  },
  "luminance": 0.04005
}

Semantic roles & 50–950 ramp

primary
#0A4212
secondary
#7F2973
accent
#37D6F0
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #0A4212

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

Preview Lab → · Contrast checker → · Palette generator →

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