#0D421E#0D421E

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

Color values

HEX#0D421E
RGBrgb(13, 66, 30)
HSLhsl(139, 67%, 15%)
HSVhsv(139, 80%, 26%)
CMYKcmyk(80.3%, 0%, 54.5%, 74.1%)
CIE-LABlab(23.92, -26.44, 17.03)
CIE-LCHlch(23.92, 31.45, 147.21°)
OKLaboklab(33.52% -0.0712 0.0415)
OKLCHoklch(33.52% 0.082 149.7)
XYZxyz(2.3483, 4.0755, 1.8909)
Luminance0.0408 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D421E #420D31
analogous
#16420D #0D421E #0D4238
triadic
#0D421E #1E0D42 #421E0D
tetradic
#0D421E #0D1642 #420D31 #42380D
square
#0D421E #0D1642 #420D31 #42380D
split-complementary
#0D421E #380D42 #420D16
monochromatic
#051A0C #051A0C #0D421E #177535 #21A84C

Accessibility & contrast

On white

11.57
#0D421E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#0D421E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D421E
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D421E#FFFFFF#000000##FFFFFF
##0D421E1.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C1B
Deuteranopia (green-blind)
#3C3721
Tritanopia (blue-blind)
#00413A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0d421e;
/* rgb */ color: rgb(13, 66, 30);
/* oklch */ color: oklch(33.5% 0.082 149.7);
Tailwind
colors: {
  custom: {
    50: '#55775a',
    500: '#0d421e',
    950: '#000000',
  },
}
SCSS
$custom: #0d421e;
$custom-light: #55775a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d421e",
  "rgb": {
    "r": 13,
    "g": 66,
    "b": 30
  },
  "hsl": {
    "h": 139.245,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33522,
    "c": 0.08238,
    "h": 149.7
  },
  "luminance": 0.04076
}

Semantic roles & 50–950 ramp

primary
#0D421E
secondary
#7E2D64
accent
#3EB3EA
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0D421E

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

Preview Lab → · Contrast checker → · Palette generator →

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