#0A4E0C#0A4E0C

#0A4E0C is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.0% C 0.116 H 143.1°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#0A4E0C
RGBrgb(10, 78, 12)
HSLhsl(122, 77%, 17%)
HSVhsv(122, 87%, 31%)
CMYKcmyk(87.2%, 0%, 84.6%, 69.4%)
CIE-LABlab(28.22, -34.08, 30.96)
CIE-LCHlch(28.22, 46.05, 137.74°)
OKLaboklab(37.01% -0.0924 0.0695)
OKLCHoklch(37.01% 0.116 143.1)
XYZxyz(2.9157, 5.5395, 1.2633)
Luminance0.0554 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A4E0C #4E0A4C
analogous
#2A4E0A #0A4E0C #0A4E2E
triadic
#0A4E0C #0C0A4E #4E0C0A
tetradic
#0A4E0C #0A2A4E #4E0A4C #4E2E0A
square
#0A4E0C #0A2A4E #4E0A4C #4E2E0A
split-complementary
#0A4E0C #2E0A4E #4E0A2A
monochromatic
#031B04 #031B04 #0A4E0C #118414 #18BA1D

Accessibility & contrast

On white

9.96
#0A4E0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A4E0C
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A4E0C#FFFFFF#000000##FFFFFF
##0A4E0C1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504601
Deuteranopia (green-blind)
#494114
Tritanopia (blue-blind)
#004B42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0a4e0c;
/* rgb */ color: rgb(10, 78, 12);
/* oklch */ color: oklch(37.0% 0.116 143.1);
Tailwind
colors: {
  custom: {
    50: '#588050',
    500: '#0a4e0c',
    950: '#000000',
  },
}
SCSS
$custom: #0a4e0c;
$custom-light: #588050;
$custom-dark: #000000;
JSON
{
  "hex": "#0a4e0c",
  "rgb": {
    "r": 10,
    "g": 78,
    "b": 12
  },
  "hsl": {
    "h": 121.765,
    "s": 77.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37007,
    "c": 0.11559,
    "h": 143.1
  },
  "luminance": 0.0554
}

Semantic roles & 50–950 ramp

primary
#0A4E0C
secondary
#8B2988
accent
#34EEF4
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0A4E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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