#0D4821#0D4821

#0D4821 is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.5% C 0.088 H 150.0°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#0D4821
RGBrgb(13, 72, 33)
HSLhsl(140, 69%, 17%)
HSVhsv(140, 82%, 28%)
CMYKcmyk(81.9%, 0%, 54.2%, 71.8%)
CIE-LABlab(26.24, -28.45, 18.15)
CIE-LCHlch(26.24, 33.75, 147.46°)
OKLaboklab(35.46% -0.0765 0.0442)
OKLCHoklch(35.46% 0.088 150)
XYZxyz(2.7576, 4.8298, 2.2255)
Luminance0.0483 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4821 #480D34
analogous
#17480D #0D4821 #0D483F
triadic
#0D4821 #210D48 #48210D
tetradic
#0D4821 #0D1748 #480D34 #483F0D
square
#0D4821 #0D1748 #480D34 #483F0D
split-complementary
#0D4821 #3F0D48 #480D17
monochromatic
#051A0C #051A0C #0D4821 #167C39 #20B051

Accessibility & contrast

On white

10.68
#0D4821 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#0D4821 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4821
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4821#FFFFFF#000000##FFFFFF
##0D48211.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48411E
Deuteranopia (green-blind)
#423C24
Tritanopia (blue-blind)
#00473F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0d4821;
/* rgb */ color: rgb(13, 72, 33);
/* oklch */ color: oklch(35.5% 0.088 150.0);
Tailwind
colors: {
  custom: {
    50: '#567c5d',
    500: '#0d4821',
    950: '#000000',
  },
}
SCSS
$custom: #0d4821;
$custom-light: #567c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4821",
  "rgb": {
    "r": 13,
    "g": 72,
    "b": 33
  },
  "hsl": {
    "h": 140.339,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.3546,
    "c": 0.08836,
    "h": 150
  },
  "luminance": 0.0483
}

Semantic roles & 50–950 ramp

primary
#0D4821
secondary
#832D66
accent
#3CB0EC
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0D4821

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

Preview Lab → · Contrast checker → · Palette generator →

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