#0D510C#0D510C

#0D510C is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.0% C 0.118 H 142.7°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#0D510C
RGBrgb(13, 81, 12)
HSLhsl(119, 74%, 18%)
HSVhsv(119, 85%, 32%)
CMYKcmyk(84%, 0%, 85.2%, 68.2%)
CIE-LABlab(29.40, -34.68, 32.13)
CIE-LCHlch(29.40, 47.28, 137.19°)
OKLaboklab(38.01% -0.0942 0.0719)
OKLCHoklch(38.01% 0.118 142.7)
XYZxyz(3.1746, 5.9966, 1.3379)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D510C #500C51
analogous
#2F510C #0D510C #0C512D
triadic
#0D510C #0C0D51 #510C0D
tetradic
#0D510C #0C2F51 #500C51 #512D0C
square
#0D510C #0C2F51 #500C51 #512D0C
split-complementary
#0D510C #2D0C51 #510C2F
monochromatic
#041B04 #041C04 #0D510C #168614 #1EBC1C

Accessibility & contrast

On white

9.55
#0D510C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#0D510C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D510C
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D510C#FFFFFF#000000##FFFFFF
##0D510C1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534800
Deuteranopia (green-blind)
#4C4314
Tritanopia (blue-blind)
#004E44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0d510c;
/* rgb */ color: rgb(13, 81, 12);
/* oklch */ color: oklch(38.0% 0.118 142.7);
Tailwind
colors: {
  custom: {
    50: '#5a8351',
    500: '#0d510c',
    950: '#000000',
  },
}
SCSS
$custom: #0d510c;
$custom-light: #5a8351;
$custom-dark: #000000;
JSON
{
  "hex": "#0d510c",
  "rgb": {
    "r": 13,
    "g": 81,
    "b": 12
  },
  "hsl": {
    "h": 119.13,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38007,
    "c": 0.11849,
    "h": 142.7
  },
  "luminance": 0.05997
}

Semantic roles & 50–950 ramp

primary
#0D510C
secondary
#8B2C8C
accent
#37F1EE
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0D510C

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

Preview Lab → · Contrast checker → · Palette generator →

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