#0A420A#0A420A

#0A420A is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.2% C 0.102 H 142.9°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#0A420A
RGBrgb(10, 66, 10)
HSLhsl(120, 74%, 15%)
HSVhsv(120, 85%, 26%)
CMYKcmyk(84.8%, 0%, 84.8%, 74.1%)
CIE-LABlab(23.61, -29.83, 27.22)
CIE-LCHlch(23.61, 40.38, 137.62°)
OKLaboklab(33.17% -0.081 0.0613)
OKLCHoklch(33.17% 0.102 142.9)
XYZxyz(2.1280, 3.9826, 0.9437)
Luminance0.0398 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A420A #420A42
analogous
#26420A #0A420A #0A4226
triadic
#0A420A #0A0A42 #420A0A
tetradic
#0A420A #0A2642 #420A42 #42260A
square
#0A420A #0A2642 #420A42 #42260A
split-complementary
#0A420A #260A42 #420A26
monochromatic
#041B04 #041B04 #0A420A #127712 #1AAC1A

Accessibility & contrast

On white

11.69
#0A420A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A420A
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A420A#FFFFFF#000000##FFFFFF
##0A420A1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B02
Deuteranopia (green-blind)
#3D3710
Tritanopia (blue-blind)
#004037
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0a420a;
/* rgb */ color: rgb(10, 66, 10);
/* oklch */ color: oklch(33.2% 0.102 142.9);
Tailwind
colors: {
  custom: {
    50: '#55774d',
    500: '#0a420a',
    950: '#000000',
  },
}
SCSS
$custom: #0a420a;
$custom-light: #55774d;
$custom-dark: #000000;
JSON
{
  "hex": "#0a420a",
  "rgb": {
    "r": 10,
    "g": 66,
    "b": 10
  },
  "hsl": {
    "h": 120,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33173,
    "c": 0.10157,
    "h": 142.9
  },
  "luminance": 0.03983
}

Semantic roles & 50–950 ramp

primary
#0A420A
secondary
#7F297F
accent
#37F0F0
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030901
muted
#787B77

Preview Lab

Preview with #0A420A

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

Preview Lab → · Contrast checker → · Palette generator →

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