#0D542B#0D542B

#0D542B is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.3% C 0.096 H 152.3°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#0D542B
RGBrgb(13, 84, 43)
HSLhsl(145, 73%, 19%)
HSVhsv(145, 85%, 33%)
CMYKcmyk(84.5%, 0%, 48.8%, 67.1%)
CIE-LABlab(30.88, -31.52, 18.09)
CIE-LCHlch(30.88, 36.34, 150.14°)
OKLaboklab(39.35% -0.0847 0.0445)
OKLCHoklch(39.35% 0.096 152.3)
XYZxyz(3.7720, 6.6002, 3.3602)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D542B #540D36
analogous
#13540D #0D542B #0D544F
triadic
#0D542B #2B0D54 #542B0D
tetradic
#0D542B #0D1354 #540D36 #544F0D
square
#0D542B #0D1354 #540D36 #544F0D
split-complementary
#0D542B #4F0D54 #540D13
monochromatic
#041A0E #051F10 #0D542B #158946 #1DBE61

Accessibility & contrast

On white

9.05
#0D542B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#0D542B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D542B
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D542B#FFFFFF#000000##FFFFFF
##0D542B1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544C28
Deuteranopia (green-blind)
#4C462E
Tritanopia (blue-blind)
#00534A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0d542b;
/* rgb */ color: rgb(13, 84, 43);
/* oklch */ color: oklch(39.3% 0.096 152.3);
Tailwind
colors: {
  custom: {
    50: '#5a8565',
    500: '#0d542b',
    950: '#000000',
  },
}
SCSS
$custom: #0d542b;
$custom-light: #5a8565;
$custom-dark: #000000;
JSON
{
  "hex": "#0d542b",
  "rgb": {
    "r": 13,
    "g": 84,
    "b": 43
  },
  "hsl": {
    "h": 145.352,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39347,
    "c": 0.0957,
    "h": 152.3
  },
  "luminance": 0.06601
}

Semantic roles & 50–950 ramp

primary
#0D542B
secondary
#8F2E66
accent
#38A2F0
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B05
muted
#797C7A

Preview Lab

Preview with #0D542B

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

Preview Lab → · Contrast checker → · Palette generator →

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