#0D2A12#0D2A12

#0D2A12 is a dark, muted green. Relative luminance 0.018; OKLCH L 25.5% C 0.056 H 147.2°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#0D2A12
RGBrgb(13, 42, 18)
HSLhsl(130, 53%, 11%)
HSVhsv(130, 69%, 16%)
CMYKcmyk(69%, 0%, 57.1%, 83.5%)
CIE-LABlab(14.32, -17.47, 12.40)
CIE-LCHlch(14.32, 21.43, 144.63°)
OKLaboklab(25.54% -0.0473 0.0305)
OKLCHoklch(25.54% 0.056 147.2)
XYZxyz(1.1031, 1.7851, 0.8586)
Luminance0.0179 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2A12 #2A0D25
analogous
#162A0D #0D2A12 #0D2A20
triadic
#0D2A12 #120D2A #2A120D
tetradic
#0D2A12 #0D162A #2A0D25 #2A200D
square
#0D2A12 #0D162A #2A0D25 #2A200D
split-complementary
#0D2A12 #200D2A #2A0D16
monochromatic
#07170A #07170A #0D2A12 #1B5926 #2A873A

Accessibility & contrast

On white

15.48
#0D2A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0D2A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2A12
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2A12#FFFFFF#000000##FFFFFF
##0D2A121.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2610
Deuteranopia (green-blind)
#272314
Tritanopia (blue-blind)
#072924
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0d2a12;
/* rgb */ color: rgb(13, 42, 18);
/* oklch */ color: oklch(25.5% 0.056 147.2);
Tailwind
colors: {
  custom: {
    50: '#4f6450',
    500: '#0d2a12',
    950: '#000000',
  },
}
SCSS
$custom: #0d2a12;
$custom-light: #4f6450;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2a12",
  "rgb": {
    "r": 13,
    "g": 42,
    "b": 18
  },
  "hsl": {
    "h": 130.345,
    "s": 52.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.2554,
    "c": 0.05627,
    "h": 147.2
  },
  "luminance": 0.01785
}

Semantic roles & 50–950 ramp

primary
#0D2A12
secondary
#642E5B
accent
#4CC3DC
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#020502
muted
#787978

Preview Lab

Preview with #0D2A12

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

Preview Lab → · Contrast checker → · Palette generator →

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