#0D421B#0D421B

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

Color values

HEX#0D421B
RGBrgb(13, 66, 27)
HSLhsl(136, 67%, 15%)
HSVhsv(136, 80%, 26%)
CMYKcmyk(80.3%, 0%, 59.1%, 74.1%)
CIE-LABlab(23.87, -26.99, 18.77)
CIE-LCHlch(23.87, 32.88, 145.19°)
OKLaboklab(33.47% -0.0727 0.0452)
OKLCHoklch(33.47% 0.086 148.1)
XYZxyz(2.3118, 4.0609, 1.6987)
Luminance0.0406 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D421B #420D34
analogous
#19420D #0D421B #0D4235
triadic
#0D421B #1B0D42 #421B0D
tetradic
#0D421B #0D1942 #420D34 #42350D
square
#0D421B #0D1942 #420D34 #42350D
split-complementary
#0D421B #350D42 #420D19
monochromatic
#051A0A #051A0A #0D421B #177530 #21A845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D421B#FFFFFF#000000##FFFFFF
##0D421B1.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)
#433B18
Deuteranopia (green-blind)
#3C371E
Tritanopia (blue-blind)
#004039
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0d421b;
/* rgb */ color: rgb(13, 66, 27);
/* oklch */ color: oklch(33.5% 0.086 148.1);
Tailwind
colors: {
  custom: {
    50: '#557758',
    500: '#0d421b',
    950: '#000000',
  },
}
SCSS
$custom: #0d421b;
$custom-light: #557758;
$custom-dark: #000000;
JSON
{
  "hex": "#0d421b",
  "rgb": {
    "r": 13,
    "g": 66,
    "b": 27
  },
  "hsl": {
    "h": 135.849,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33467,
    "c": 0.0856,
    "h": 148.1
  },
  "luminance": 0.04061
}

Semantic roles & 50–950 ramp

primary
#0D421B
secondary
#7E2D68
accent
#3EBDEA
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0D421B

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

Preview Lab → · Contrast checker → · Palette generator →

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