#0D421A#0D421A

#0D421A is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.5% C 0.087 H 147.6°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#0D421A
RGBrgb(13, 66, 26)
HSLhsl(135, 67%, 15%)
HSVhsv(135, 80%, 26%)
CMYKcmyk(80.3%, 0%, 60.6%, 74.1%)
CIE-LABlab(23.86, -27.16, 19.34)
CIE-LCHlch(23.86, 33.34, 144.55°)
OKLaboklab(33.45% -0.0732 0.0464)
OKLCHoklch(33.45% 0.087 147.6)
XYZxyz(2.3005, 4.0563, 1.6388)
Luminance0.0406 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D421A #420D35
analogous
#1A420D #0D421A #0D4234
triadic
#0D421A #1A0D42 #421A0D
tetradic
#0D421A #0D1A42 #420D35 #42340D
square
#0D421A #0D1A42 #420D35 #42340D
split-complementary
#0D421A #340D42 #420D1A
monochromatic
#051A0A #051A0A #0D421A #17752E #21A842

Accessibility & contrast

On white

11.59
#0D421A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#0D421A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D421A
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D421A#FFFFFF#000000##FFFFFF
##0D421A1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B16
Deuteranopia (green-blind)
#3D371D
Tritanopia (blue-blind)
#004039
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0d421a;
/* rgb */ color: rgb(13, 66, 26);
/* oklch */ color: oklch(33.5% 0.087 147.6);
Tailwind
colors: {
  custom: {
    50: '#557757',
    500: '#0d421a',
    950: '#000000',
  },
}
SCSS
$custom: #0d421a;
$custom-light: #557757;
$custom-dark: #000000;
JSON
{
  "hex": "#0d421a",
  "rgb": {
    "r": 13,
    "g": 66,
    "b": 26
  },
  "hsl": {
    "h": 134.717,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.3345,
    "c": 0.08664,
    "h": 147.6
  },
  "luminance": 0.04057
}

Semantic roles & 50–950 ramp

primary
#0D421A
secondary
#7E2D6A
accent
#3EC0EA
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0D421A

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

Preview Lab → · Contrast checker → · Palette generator →

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