#0D4D21#0D4D21

#0D4D21 is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.0% C 0.096 H 148.9°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#0D4D21
RGBrgb(13, 77, 33)
HSLhsl(139, 71%, 18%)
HSVhsv(139, 83%, 30%)
CMYKcmyk(83.1%, 0%, 57.1%, 69.8%)
CIE-LABlab(28.12, -30.53, 20.49)
CIE-LCHlch(28.12, 36.77, 146.14°)
OKLaboklab(37.01% -0.0821 0.0495)
OKLCHoklch(37.01% 0.096 148.9)
XYZxyz(3.0941, 5.5028, 2.3376)
Luminance0.0550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4D21 #4D0D39
analogous
#194D0D #0D4D21 #0D4D41
triadic
#0D4D21 #210D4D #4D210D
tetradic
#0D4D21 #0D194D #4D0D39 #4D410D
square
#0D4D21 #0D194D #4D0D39 #4D410D
split-complementary
#0D4D21 #410D4D #4D0D19
monochromatic
#041A0B #041A0B #0D4D21 #168137 #1FB64E

Accessibility & contrast

On white

10.00
#0D4D21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#0D4D21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4D21
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4D21#FFFFFF#000000##FFFFFF
##0D4D211.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E451D
Deuteranopia (green-blind)
#464024
Tritanopia (blue-blind)
#004B43
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0d4d21;
/* rgb */ color: rgb(13, 77, 33);
/* oklch */ color: oklch(37.0% 0.096 148.9);
Tailwind
colors: {
  custom: {
    50: '#587f5d',
    500: '#0d4d21',
    950: '#000000',
  },
}
SCSS
$custom: #0d4d21;
$custom-light: #587f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4d21",
  "rgb": {
    "r": 13,
    "g": 77,
    "b": 33
  },
  "hsl": {
    "h": 138.75,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37013,
    "c": 0.09582,
    "h": 148.9
  },
  "luminance": 0.05503
}

Semantic roles & 50–950 ramp

primary
#0D4D21
secondary
#882E6C
accent
#3AB6EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0D4D21

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

Preview Lab → · Contrast checker → · Palette generator →

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