#0C3205#0C3205

#0C3205 is a dark, moderate green. Relative luminance 0.024; OKLCH L 28.0% C 0.083 H 140.7°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#0C3205
RGBrgb(12, 50, 5)
HSLhsl(111, 82%, 11%)
HSVhsv(111, 90%, 20%)
CMYKcmyk(76%, 0%, 90%, 80.4%)
CIE-LABlab(17.32, -23.46, 22.26)
CIE-LCHlch(17.32, 32.34, 136.50°)
OKLaboklab(27.95% -0.0642 0.0526)
OKLCHoklch(27.95% 0.083 140.7)
XYZxyz(1.3195, 2.3702, 0.5315)
Luminance0.0237 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3205 #2B0532
analogous
#223205 #0C3205 #053214
triadic
#0C3205 #050C32 #32050C
tetradic
#0C3205 #052232 #2B0532 #321405
square
#0C3205 #052232 #2B0532 #321405
split-complementary
#0C3205 #140532 #320522
monochromatic
#071C03 #071C03 #0C3205 #196A0B #27A110

Accessibility & contrast

On white

14.25
#0C3205 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0C3205 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3205
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3205#FFFFFF#000000##FFFFFF
##0C32051.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342C00
Deuteranopia (green-blind)
#2F2909
Tritanopia (blue-blind)
#063029
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c3205;
/* rgb */ color: rgb(12, 50, 5);
/* oklch */ color: oklch(28.0% 0.083 140.7);
Tailwind
colors: {
  custom: {
    50: '#516a49',
    500: '#0c3205',
    950: '#000000',
  },
}
SCSS
$custom: #0c3205;
$custom-light: #516a49;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3205",
  "rgb": {
    "r": 12,
    "g": 50,
    "b": 5
  },
  "hsl": {
    "h": 110.667,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.27953,
    "c": 0.08301,
    "h": 140.7
  },
  "luminance": 0.0237
}

Semantic roles & 50–950 ramp

primary
#0C3205
secondary
#661F73
accent
#30F8D9
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C3205

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

Preview Lab → · Contrast checker → · Palette generator →

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