#0D2F08#0D2F08

#0D2F08 is a dark, moderate green. Relative luminance 0.021; OKLCH L 27.0% C 0.075 H 141.2°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#0D2F08
RGBrgb(13, 47, 8)
HSLhsl(112, 71%, 11%)
HSVhsv(112, 83%, 18%)
CMYKcmyk(72.3%, 0%, 83%, 81.6%)
CIE-LABlab(16.19, -21.46, 19.65)
CIE-LCHlch(16.19, 29.09, 137.52°)
OKLaboklab(27.03% -0.0586 0.0472)
OKLCHoklch(27.03% 0.075 141.2)
XYZxyz(1.2263, 2.1360, 0.5774)
Luminance0.0214 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2F08 #2A082F
analogous
#202F08 #0D2F08 #082F16
triadic
#0D2F08 #080D2F #2F080D
tetradic
#0D2F08 #08202F #2A082F #2F1608
square
#0D2F08 #08202F #2A082F #2F1608
split-complementary
#0D2F08 #16082F #2F0820
monochromatic
#071A04 #071A04 #0D2F08 #1B6311 #2A981A

Accessibility & contrast

On white

14.71
#0D2F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0D2F08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2F08
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2F08#FFFFFF#000000##FFFFFF
##0D2F081.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A04
Deuteranopia (green-blind)
#2C270C
Tritanopia (blue-blind)
#082D27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0d2f08;
/* rgb */ color: rgb(13, 47, 8);
/* oklch */ color: oklch(27.0% 0.075 141.2);
Tailwind
colors: {
  custom: {
    50: '#50684a',
    500: '#0d2f08',
    950: '#000000',
  },
}
SCSS
$custom: #0d2f08;
$custom-light: #50684a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2f08",
  "rgb": {
    "r": 13,
    "g": 47,
    "b": 8
  },
  "hsl": {
    "h": 112.308,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.27034,
    "c": 0.07526,
    "h": 141.2
  },
  "luminance": 0.02136
}

Semantic roles & 50–950 ramp

primary
#0D2F08
secondary
#64256E
accent
#3AEED7
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0D2F08

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

Preview Lab → · Contrast checker → · Palette generator →

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