#0C3102#0C3102

#0C3102 is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.6% C 0.085 H 139.6°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#0C3102
RGBrgb(12, 49, 2)
HSLhsl(107, 92%, 10%)
HSVhsv(107, 96%, 19%)
CMYKcmyk(75.5%, 0%, 95.9%, 80.8%)
CIE-LABlab(16.89, -23.40, 22.95)
CIE-LCHlch(16.89, 32.78, 135.55°)
OKLaboklab(27.58% -0.0644 0.0549)
OKLCHoklch(27.58% 0.085 139.6)
XYZxyz(1.2608, 2.2790, 0.4309)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3102 #270231
analogous
#243102 #0C3102 #02310F
triadic
#0C3102 #020C31 #31020C
tetradic
#0C3102 #022431 #270231 #310F02
square
#0C3102 #022431 #270231 #310F02
split-complementary
#0C3102 #0F0231 #310224
monochromatic
#071D01 #071D01 #0C3102 #1A6C04 #29A707

Accessibility & contrast

On white

14.43
#0C3102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0C3102 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3102
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3102#FFFFFF#000000##FFFFFF
##0C31021.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332B00
Deuteranopia (green-blind)
#2E2906
Tritanopia (blue-blind)
#072F28
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c3102;
/* rgb */ color: rgb(12, 49, 2);
/* oklch */ color: oklch(27.6% 0.085 139.6);
Tailwind
colors: {
  custom: {
    50: '#506948',
    500: '#0c3102',
    950: '#000000',
  },
}
SCSS
$custom: #0c3102;
$custom-light: #506948;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3102",
  "rgb": {
    "r": 12,
    "g": 49,
    "b": 2
  },
  "hsl": {
    "h": 107.234,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.27585,
    "c": 0.08461,
    "h": 139.6
  },
  "luminance": 0.02279
}

Semantic roles & 50–950 ramp

primary
#0C3102
secondary
#621975
accent
#29FFD1
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #0C3102

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

Preview Lab → · Contrast checker → · Palette generator →

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