#0C3D08#0C3D08

#0C3D08 is a dark, moderate green. Relative luminance 0.034; OKLCH L 31.6% C 0.096 H 142.0°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#0C3D08
RGBrgb(12, 61, 8)
HSLhsl(115, 77%, 14%)
HSVhsv(115, 87%, 24%)
CMYKcmyk(80.3%, 0%, 86.9%, 76.1%)
CIE-LABlab(21.70, -27.66, 26.06)
CIE-LCHlch(21.70, 38.00, 136.71°)
OKLaboklab(31.59% -0.0753 0.0589)
OKLCHoklch(31.59% 0.096 142)
XYZxyz(1.8641, 3.4330, 0.7941)
Luminance0.0343 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3D08 #39083D
analogous
#263D08 #0C3D08 #083D1E
triadic
#0C3D08 #080C3D #3D080C
tetradic
#0C3D08 #08263D #39083D #3D1E08
square
#0C3D08 #08263D #39083D #3D1E08
split-complementary
#0C3D08 #1E083D #3D0826
monochromatic
#051B04 #051B04 #0C3D08 #17730F #21A916

Accessibility & contrast

On white

12.45
#0C3D08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#0C3D08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3D08
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3D08#FFFFFF#000000##FFFFFF
##0C3D081.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3601
Deuteranopia (green-blind)
#39330E
Tritanopia (blue-blind)
#023B33
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0c3d08;
/* rgb */ color: rgb(12, 61, 8);
/* oklch */ color: oklch(31.6% 0.096 142.0);
Tailwind
colors: {
  custom: {
    50: '#54734c',
    500: '#0c3d08',
    950: '#000000',
  },
}
SCSS
$custom: #0c3d08;
$custom-light: #54734c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3d08",
  "rgb": {
    "r": 12,
    "g": 61,
    "b": 8
  },
  "hsl": {
    "h": 115.472,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.31593,
    "c": 0.09563,
    "h": 142
  },
  "luminance": 0.03433
}

Semantic roles & 50–950 ramp

primary
#0C3D08
secondary
#75257C
accent
#34F3E5
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0C3D08

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

Preview Lab → · Contrast checker → · Palette generator →

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