#0D5229#0D5229

#0D5229 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.7% C 0.095 H 151.7°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#0D5229
RGBrgb(13, 82, 41)
HSLhsl(144, 73%, 19%)
HSVhsv(144, 84%, 32%)
CMYKcmyk(84.1%, 0%, 50%, 67.8%)
CIE-LABlab(30.11, -31.09, 18.29)
CIE-LCHlch(30.11, 36.07, 149.53°)
OKLaboklab(38.7% -0.0835 0.0449)
OKLCHoklch(38.7% 0.095 151.7)
XYZxyz(3.5832, 6.2798, 3.1207)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5229 #520D36
analogous
#13520D #0D5229 #0D524B
triadic
#0D5229 #290D52 #52290D
tetradic
#0D5229 #0D1352 #520D36 #524B0D
square
#0D5229 #0D1352 #520D36 #524B0D
split-complementary
#0D5229 #4B0D52 #520D13
monochromatic
#041A0D #051D0F #0D5229 #158743 #1EBC5E

Accessibility & contrast

On white

9.31
#0D5229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#0D5229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5229
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5229#FFFFFF#000000##FFFFFF
##0D52291.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A26
Deuteranopia (green-blind)
#4A452C
Tritanopia (blue-blind)
#005148
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0d5229;
/* rgb */ color: rgb(13, 82, 41);
/* oklch */ color: oklch(38.7% 0.095 151.7);
Tailwind
colors: {
  custom: {
    50: '#598363',
    500: '#0d5229',
    950: '#000000',
  },
}
SCSS
$custom: #0d5229;
$custom-light: #598363;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5229",
  "rgb": {
    "r": 13,
    "g": 82,
    "b": 41
  },
  "hsl": {
    "h": 144.348,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38698,
    "c": 0.09485,
    "h": 151.7
  },
  "luminance": 0.0628
}

Semantic roles & 50–950 ramp

primary
#0D5229
secondary
#8D2E66
accent
#38A5EF
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0D5229

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

Preview Lab → · Contrast checker → · Palette generator →

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