#0D5226#0D5226

#0D5226 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.6% C 0.098 H 150.2°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#0D5226
RGBrgb(13, 82, 38)
HSLhsl(142, 73%, 19%)
HSVhsv(142, 84%, 32%)
CMYKcmyk(84.1%, 0%, 53.7%, 67.8%)
CIE-LABlab(30.06, -31.66, 19.99)
CIE-LCHlch(30.06, 37.45, 147.73°)
OKLaboklab(38.64% -0.0851 0.0486)
OKLCHoklch(38.64% 0.098 150.2)
XYZxyz(3.5328, 6.2597, 2.8554)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5226 #520D39
analogous
#16520D #0D5226 #0D5248
triadic
#0D5226 #260D52 #52260D
tetradic
#0D5226 #0D1652 #520D39 #52480D
square
#0D5226 #0D1652 #520D39 #52480D
split-complementary
#0D5226 #480D52 #520D16
monochromatic
#041A0C #051D0E #0D5226 #15873E #1EBC57

Accessibility & contrast

On white

9.33
#0D5226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D5226
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5226#FFFFFF#000000##FFFFFF
##0D52261.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A22
Deuteranopia (green-blind)
#4B4529
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0d5226;
/* rgb */ color: rgb(13, 82, 38);
/* oklch */ color: oklch(38.6% 0.098 150.2);
Tailwind
colors: {
  custom: {
    50: '#598361',
    500: '#0d5226',
    950: '#000000',
  },
}
SCSS
$custom: #0d5226;
$custom-light: #598361;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5226",
  "rgb": {
    "r": 13,
    "g": 82,
    "b": 38
  },
  "hsl": {
    "h": 141.739,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38641,
    "c": 0.09798,
    "h": 150.2
  },
  "luminance": 0.0626
}

Semantic roles & 50–950 ramp

primary
#0D5226
secondary
#8D2E6A
accent
#38ADEF
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0D5226

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

Preview Lab → · Contrast checker → · Palette generator →

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