#0D4227#0D4227

#0D4227 is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.7% C 0.072 H 156.2°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#0D4227
RGBrgb(13, 66, 39)
HSLhsl(149, 67%, 15%)
HSVhsv(149, 80%, 26%)
CMYKcmyk(80.3%, 0%, 40.9%, 74.1%)
CIE-LABlab(24.09, -24.50, 11.64)
CIE-LCHlch(24.09, 27.13, 154.59°)
OKLaboklab(33.72% -0.0663 0.0292)
OKLCHoklch(33.72% 0.072 156.2)
XYZxyz(2.4802, 4.1282, 2.5852)
Luminance0.0413 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4227 #420D28
analogous
#0D420D #0D4227 #0D4241
triadic
#0D4227 #270D42 #42270D
tetradic
#0D4227 #0D0D42 #420D28 #42410D
square
#0D4227 #0D0D42 #420D28 #42410D
split-complementary
#0D4227 #410D42 #420D0D
monochromatic
#051A0F #051A0F #0D4227 #177545 #21A863

Accessibility & contrast

On white

11.50
#0D4227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#0D4227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4227
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4227#FFFFFF#000000##FFFFFF
##0D42271.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C25
Deuteranopia (green-blind)
#3B3729
Tritanopia (blue-blind)
#00413B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0d4227;
/* rgb */ color: rgb(13, 66, 39);
/* oklch */ color: oklch(33.7% 0.072 156.2);
Tailwind
colors: {
  custom: {
    50: '#557761',
    500: '#0d4227',
    950: '#000000',
  },
}
SCSS
$custom: #0d4227;
$custom-light: #557761;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4227",
  "rgb": {
    "r": 13,
    "g": 66,
    "b": 39
  },
  "hsl": {
    "h": 149.434,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33719,
    "c": 0.07244,
    "h": 156.2
  },
  "luminance": 0.04128
}

Semantic roles & 50–950 ramp

primary
#0D4227
secondary
#7E2D56
accent
#3E96EA
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030805
muted
#787B79

Preview Lab

Preview with #0D4227

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

Preview Lab → · Contrast checker → · Palette generator →

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