#0D5421#0D5421

#0D5421 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.2% C 0.106 H 147.8°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#0D5421
RGBrgb(13, 84, 33)
HSLhsl(137, 73%, 19%)
HSVhsv(137, 85%, 33%)
CMYKcmyk(84.5%, 0%, 60.7%, 67.1%)
CIE-LABlab(30.73, -33.32, 23.64)
CIE-LCHlch(30.73, 40.86, 144.65°)
OKLaboklab(39.17% -0.0896 0.0564)
OKLCHoklch(39.17% 0.106 147.8)
XYZxyz(3.6105, 6.5356, 2.5098)
Luminance0.0654 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5421 #540D40
analogous
#1D540D #0D5421 #0D5445
triadic
#0D5421 #210D54 #54210D
tetradic
#0D5421 #0D1D54 #540D40 #54450D
square
#0D5421 #0D1D54 #540D40 #54450D
split-complementary
#0D5421 #450D54 #540D1D
monochromatic
#041A0A #051F0C #0D5421 #158936 #1DBE4B

Accessibility & contrast

On white

9.10
#0D5421 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#0D5421 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5421
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5421#FFFFFF#000000##FFFFFF
##0D54211.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C1C
Deuteranopia (green-blind)
#4D4625
Tritanopia (blue-blind)
#005249
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0d5421;
/* rgb */ color: rgb(13, 84, 33);
/* oklch */ color: oklch(39.2% 0.106 147.8);
Tailwind
colors: {
  custom: {
    50: '#5a855e',
    500: '#0d5421',
    950: '#000000',
  },
}
SCSS
$custom: #0d5421;
$custom-light: #5a855e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5421",
  "rgb": {
    "r": 13,
    "g": 84,
    "b": 33
  },
  "hsl": {
    "h": 136.901,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3917,
    "c": 0.10588,
    "h": 147.8
  },
  "luminance": 0.06536
}

Semantic roles & 50–950 ramp

primary
#0D5421
secondary
#8F2E74
accent
#38BCF0
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0D5421

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

Preview Lab → · Contrast checker → · Palette generator →

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