#0D421C#0D421C

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

Color values

HEX#0D421C
RGBrgb(13, 66, 28)
HSLhsl(137, 67%, 15%)
HSVhsv(137, 80%, 26%)
CMYKcmyk(80.3%, 0%, 57.6%, 74.1%)
CIE-LABlab(23.89, -26.81, 18.20)
CIE-LCHlch(23.89, 32.40, 145.84°)
OKLaboklab(33.49% -0.0722 0.044)
OKLCHoklch(33.49% 0.085 148.6)
XYZxyz(2.3236, 4.0656, 1.7607)
Luminance0.0407 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D421C #420D33
analogous
#18420D #0D421C #0D4236
triadic
#0D421C #1C0D42 #421C0D
tetradic
#0D421C #0D1842 #420D33 #42360D
square
#0D421C #0D1842 #420D33 #42360D
split-complementary
#0D421C #360D42 #420D18
monochromatic
#051A0B #051A0B #0D421C #177532 #21A847

Accessibility & contrast

On white

11.58
#0D421C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D421C
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D421C#FFFFFF#000000##FFFFFF
##0D421C1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B19
Deuteranopia (green-blind)
#3C371F
Tritanopia (blue-blind)
#004139
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0d421c;
/* rgb */ color: rgb(13, 66, 28);
/* oklch */ color: oklch(33.5% 0.085 148.6);
Tailwind
colors: {
  custom: {
    50: '#557759',
    500: '#0d421c',
    950: '#000000',
  },
}
SCSS
$custom: #0d421c;
$custom-light: #557759;
$custom-dark: #000000;
JSON
{
  "hex": "#0d421c",
  "rgb": {
    "r": 13,
    "g": 66,
    "b": 28
  },
  "hsl": {
    "h": 136.981,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33485,
    "c": 0.08454,
    "h": 148.6
  },
  "luminance": 0.04066
}

Semantic roles & 50–950 ramp

primary
#0D421C
secondary
#7E2D67
accent
#3EB9EA
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0D421C

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

Preview Lab → · Contrast checker → · Palette generator →

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