#0C3905#0C3905

#0C3905 is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.3% C 0.093 H 141.1°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#0C3905
RGBrgb(12, 57, 5)
HSLhsl(112, 84%, 12%)
HSVhsv(112, 91%, 22%)
CMYKcmyk(78.9%, 0%, 91.2%, 77.6%)
CIE-LABlab(20.10, -26.37, 25.52)
CIE-LCHlch(20.10, 36.70, 135.93°)
OKLaboklab(30.26% -0.0721 0.0581)
OKLCHoklch(30.26% 0.093 141.1)
XYZxyz(1.6421, 3.0152, 0.6390)
Luminance0.0301 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3905 #320539
analogous
#263905 #0C3905 #053918
triadic
#0C3905 #050C39 #39050C
tetradic
#0C3905 #052639 #320539 #391805
square
#0C3905 #052639 #320539 #391805
split-complementary
#0C3905 #180539 #390526
monochromatic
#061C02 #061C02 #0C3905 #18710A #24AA0F

Accessibility & contrast

On white

13.10
#0C3905 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#0C3905 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3905
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3905#FFFFFF#000000##FFFFFF
##0C39051.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3300
Deuteranopia (green-blind)
#352F0A
Tritanopia (blue-blind)
#04372F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0c3905;
/* rgb */ color: rgb(12, 57, 5);
/* oklch */ color: oklch(30.3% 0.093 141.1);
Tailwind
colors: {
  custom: {
    50: '#53704a',
    500: '#0c3905',
    950: '#000000',
  },
}
SCSS
$custom: #0c3905;
$custom-light: #53704a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3905",
  "rgb": {
    "r": 12,
    "g": 57,
    "b": 5
  },
  "hsl": {
    "h": 111.923,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.3026,
    "c": 0.0926,
    "h": 141.1
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

primary
#0C3905
secondary
#6E207A
accent
#2EFADF
background
#F5F6F4
surface
#E8ECE7
border
#C4C7C3
text
#030701
muted
#787A77

Preview Lab

Preview with #0C3905

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

Preview Lab → · Contrast checker → · Palette generator →

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