#0D5021#0D5021

#0D5021 is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.9% C 0.100 H 148.4°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#0D5021
RGBrgb(13, 80, 33)
HSLhsl(138, 72%, 18%)
HSVhsv(138, 84%, 31%)
CMYKcmyk(83.7%, 0%, 58.8%, 68.6%)
CIE-LABlab(29.24, -31.74, 21.85)
CIE-LCHlch(29.24, 38.54, 145.45°)
OKLaboklab(37.94% -0.0853 0.0525)
OKLCHoklch(37.94% 0.1 148.4)
XYZxyz(3.3089, 5.9323, 2.4092)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5021 #500D3C
analogous
#1B500D #0D5021 #0D5042
triadic
#0D5021 #210D50 #50210D
tetradic
#0D5021 #0D1B50 #500D3C #50420D
square
#0D5021 #0D1B50 #500D3C #50420D
split-complementary
#0D5021 #420D50 #500D1B
monochromatic
#041A0B #041B0B #0D5021 #168537 #1EB94C

Accessibility & contrast

On white

9.60
#0D5021 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#0D5021 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5021
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5021#FFFFFF#000000##FFFFFF
##0D50211.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51481D
Deuteranopia (green-blind)
#494325
Tritanopia (blue-blind)
#004E45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0d5021;
/* rgb */ color: rgb(13, 80, 33);
/* oklch */ color: oklch(37.9% 0.100 148.4);
Tailwind
colors: {
  custom: {
    50: '#59825d',
    500: '#0d5021',
    950: '#000000',
  },
}
SCSS
$custom: #0d5021;
$custom-light: #59825d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5021",
  "rgb": {
    "r": 13,
    "g": 80,
    "b": 33
  },
  "hsl": {
    "h": 137.91,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.3794,
    "c": 0.10017,
    "h": 148.4
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#0D5021
secondary
#8B2E6F
accent
#39B9EF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0D5021

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

Preview Lab → · Contrast checker → · Palette generator →

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