#0D4021#0D4021

#0D4021 is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.0% C 0.076 H 152.3°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#0D4021
RGBrgb(13, 64, 33)
HSLhsl(144, 66%, 15%)
HSVhsv(144, 80%, 25%)
CMYKcmyk(79.7%, 0%, 48.4%, 74.9%)
CIE-LABlab(23.21, -24.94, 14.27)
CIE-LCHlch(23.21, 28.73, 150.21°)
OKLaboklab(32.95% -0.0672 0.0353)
OKLCHoklch(32.95% 0.076 152.3)
XYZxyz(2.2737, 3.8619, 2.0641)
Luminance0.0386 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4021 #400D2C
analogous
#13400D #0D4021 #0D403A
triadic
#0D4021 #210D40 #40210D
tetradic
#0D4021 #0D1340 #400D2C #403A0D
square
#0D4021 #0D1340 #400D2C #403A0D
split-complementary
#0D4021 #3A0D40 #400D13
monochromatic
#05190D #05190D #0D4021 #17733B #22A655

Accessibility & contrast

On white

11.85
#0D4021 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#0D4021 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4021
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4021#FFFFFF#000000##FFFFFF
##0D40211.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A1F
Deuteranopia (green-blind)
#3A3623
Tritanopia (blue-blind)
#003F38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0d4021;
/* rgb */ color: rgb(13, 64, 33);
/* oklch */ color: oklch(33.0% 0.076 152.3);
Tailwind
colors: {
  custom: {
    50: '#54755c',
    500: '#0d4021',
    950: '#000000',
  },
}
SCSS
$custom: #0d4021;
$custom-light: #54755c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4021",
  "rgb": {
    "r": 13,
    "g": 64,
    "b": 33
  },
  "hsl": {
    "h": 143.529,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.32953,
    "c": 0.07592,
    "h": 152.3
  },
  "luminance": 0.03862
}

Semantic roles & 50–950 ramp

primary
#0D4021
secondary
#7C2D5D
accent
#3FA6E9
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0D4021

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

Preview Lab → · Contrast checker → · Palette generator →

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