#0D5227#0D5227

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

Color values

HEX#0D5227
RGBrgb(13, 82, 39)
HSLhsl(143, 73%, 19%)
HSVhsv(143, 84%, 32%)
CMYKcmyk(84.1%, 0%, 52.4%, 67.8%)
CIE-LABlab(30.07, -31.47, 19.43)
CIE-LCHlch(30.07, 36.99, 148.32°)
OKLaboklab(38.66% -0.0846 0.0474)
OKLCHoklch(38.66% 0.097 150.7)
XYZxyz(3.5492, 6.2662, 2.9415)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5227 #520D38
analogous
#15520D #0D5227 #0D5249
triadic
#0D5227 #270D52 #52270D
tetradic
#0D5227 #0D1552 #520D38 #52490D
square
#0D5227 #0D1552 #520D38 #52490D
split-complementary
#0D5227 #490D52 #520D15
monochromatic
#041A0D #051D0E #0D5227 #158740 #1EBC59

Accessibility & contrast

On white

9.32
#0D5227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#0D5227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5227
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5227#FFFFFF#000000##FFFFFF
##0D52271.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A24
Deuteranopia (green-blind)
#4B452A
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0d5227;
/* rgb */ color: rgb(13, 82, 39);
/* oklch */ color: oklch(38.7% 0.097 150.7);
Tailwind
colors: {
  custom: {
    50: '#598362',
    500: '#0d5227',
    950: '#000000',
  },
}
SCSS
$custom: #0d5227;
$custom-light: #598362;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5227",
  "rgb": {
    "r": 13,
    "g": 82,
    "b": 39
  },
  "hsl": {
    "h": 142.609,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.3866,
    "c": 0.09694,
    "h": 150.7
  },
  "luminance": 0.06267
}

Semantic roles & 50–950 ramp

primary
#0D5227
secondary
#8D2E69
accent
#38AAEF
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0D5227

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

Preview Lab → · Contrast checker → · Palette generator →

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