#0D5427#0D5427

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

Color values

HEX#0D5427
RGBrgb(13, 84, 39)
HSLhsl(142, 73%, 19%)
HSVhsv(142, 85%, 33%)
CMYKcmyk(84.5%, 0%, 53.6%, 67.1%)
CIE-LABlab(30.81, -32.29, 20.36)
CIE-LCHlch(30.81, 38.17, 147.77°)
OKLaboklab(39.27% -0.0867 0.0495)
OKLCHoklch(39.27% 0.1 150.3)
XYZxyz(3.7022, 6.5723, 2.9925)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5427 #540D3A
analogous
#17540D #0D5427 #0D544B
triadic
#0D5427 #270D54 #54270D
tetradic
#0D5427 #0D1754 #540D3A #544B0D
square
#0D5427 #0D1754 #540D3A #544B0D
split-complementary
#0D5427 #4B0D54 #540D17
monochromatic
#041A0C #051F0E #0D5427 #158940 #1DBE58

Accessibility & contrast

On white

9.07
#0D5427 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#0D5427 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5427
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5427#FFFFFF#000000##FFFFFF
##0D54271.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C23
Deuteranopia (green-blind)
#4C462A
Tritanopia (blue-blind)
#005249
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0d5427;
/* rgb */ color: rgb(13, 84, 39);
/* oklch */ color: oklch(39.3% 0.100 150.3);
Tailwind
colors: {
  custom: {
    50: '#5a8562',
    500: '#0d5427',
    950: '#000000',
  },
}
SCSS
$custom: #0d5427;
$custom-light: #5a8562;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5427",
  "rgb": {
    "r": 13,
    "g": 84,
    "b": 39
  },
  "hsl": {
    "h": 141.972,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39271,
    "c": 0.09987,
    "h": 150.3
  },
  "luminance": 0.06573
}

Semantic roles & 50–950 ramp

primary
#0D5427
secondary
#8F2E6B
accent
#38ADF0
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0D5427

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

Preview Lab → · Contrast checker → · Palette generator →

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