#0D5F18#0D5F18

#0D5F18 is a dark, vivid green. Relative luminance 0.083; OKLCH L 42.4% C 0.128 H 144.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#0D5F18
RGBrgb(13, 95, 24)
HSLhsl(128, 76%, 21%)
HSVhsv(128, 86%, 37%)
CMYKcmyk(86.3%, 0%, 74.7%, 62.7%)
CIE-LABlab(34.67, -38.57, 32.57)
CIE-LCHlch(34.67, 50.48, 139.83°)
OKLaboklab(42.42% -0.1042 0.0745)
OKLCHoklch(42.42% 0.128 144.4)
XYZxyz(4.4228, 8.3354, 2.2398)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5F18 #5F0D54
analogous
#2B5F0D #0D5F18 #0D5F41
triadic
#0D5F18 #180D5F #5F180D
tetradic
#0D5F18 #0D2B5F #5F0D54 #5F410D
square
#0D5F18 #0D2B5F #5F0D54 #5F410D
split-complementary
#0D5F18 #410D5F #5F0D2B
monochromatic
#041B07 #06290A #0D5F18 #149526 #1CCB33

Accessibility & contrast

On white

7.87
#0D5F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#0D5F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5F18
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5F18#FFFFFF#000000##FFFFFF
##0D5F181.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550D
Deuteranopia (green-blind)
#584F1F
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #0d5f18;
/* rgb */ color: rgb(13, 95, 24);
/* oklch */ color: oklch(42.4% 0.128 144.4);
Tailwind
colors: {
  custom: {
    50: '#5e8d59',
    500: '#0d5f18',
    950: '#000000',
  },
}
SCSS
$custom: #0d5f18;
$custom-light: #5e8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5f18",
  "rgb": {
    "r": 13,
    "g": 95,
    "b": 24
  },
  "hsl": {
    "h": 128.049,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42416,
    "c": 0.12809,
    "h": 144.4
  },
  "luminance": 0.08336
}

Semantic roles & 50–950 ramp

primary
#0D5F18
secondary
#992F8B
accent
#35D9F3
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0D5F18

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

Preview Lab → · Contrast checker → · Palette generator →

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