#0D4828#0D4828

#0D4828 is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.6% C 0.081 H 154.4°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#0D4828
RGBrgb(13, 72, 40)
HSLhsl(147, 69%, 17%)
HSVhsv(147, 82%, 28%)
CMYKcmyk(81.9%, 0%, 44.4%, 71.8%)
CIE-LABlab(26.37, -27.00, 14.04)
CIE-LCHlch(26.37, 30.44, 152.52°)
OKLaboklab(35.6% -0.0728 0.035)
OKLCHoklch(35.6% 0.081 154.4)
XYZxyz(2.8661, 4.8732, 2.7966)
Luminance0.0487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4828 #480D2D
analogous
#0F480D #0D4828 #0D4846
triadic
#0D4828 #280D48 #48280D
tetradic
#0D4828 #0D0F48 #480D2D #48460D
square
#0D4828 #0D0F48 #480D2D #48460D
split-complementary
#0D4828 #460D48 #480D0F
monochromatic
#051A0E #051A0E #0D4828 #167C45 #20B062

Accessibility & contrast

On white

10.64
#0D4828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D4828
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4828#FFFFFF#000000##FFFFFF
##0D48281.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484126
Deuteranopia (green-blind)
#413C2A
Tritanopia (blue-blind)
#004740
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0d4828;
/* rgb */ color: rgb(13, 72, 40);
/* oklch */ color: oklch(35.6% 0.081 154.4);
Tailwind
colors: {
  custom: {
    50: '#567c62',
    500: '#0d4828',
    950: '#000000',
  },
}
SCSS
$custom: #0d4828;
$custom-light: #567c62;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4828",
  "rgb": {
    "r": 13,
    "g": 72,
    "b": 40
  },
  "hsl": {
    "h": 147.458,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35605,
    "c": 0.08077,
    "h": 154.4
  },
  "luminance": 0.04873
}

Semantic roles & 50–950 ramp

primary
#0D4828
secondary
#832D5C
accent
#3C9BEC
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#030905
muted
#787B79

Preview Lab

Preview with #0D4828

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

Preview Lab → · Contrast checker → · Palette generator →

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