#0C3E1B#0C3E1B

#0C3E1B is a dark, moderate green. Relative luminance 0.036; OKLCH L 32.2% C 0.080 H 149.2°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#0C3E1B
RGBrgb(12, 62, 27)
HSLhsl(138, 68%, 15%)
HSVhsv(138, 81%, 24%)
CMYKcmyk(80.6%, 0%, 56.5%, 75.7%)
CIE-LABlab(22.31, -25.46, 16.83)
CIE-LCHlch(22.31, 30.52, 146.53°)
OKLaboklab(32.17% -0.0685 0.0409)
OKLCHoklch(32.17% 0.08 149.2)
XYZxyz(2.0719, 3.6023, 1.6228)
Luminance0.0360 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3E1B #3E0C2F
analogous
#163E0C #0C3E1B #0C3E34
triadic
#0C3E1B #1B0C3E #3E1B0C
tetradic
#0C3E1B #0C163E #3E0C2F #3E340C
square
#0C3E1B #0C163E #3E0C2F #3E340C
split-complementary
#0C3E1B #340C3E #3E0C16
monochromatic
#051A0B #051A0B #0C3E1B #167131 #20A548

Accessibility & contrast

On white

12.21
#0C3E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#0C3E1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3E1B
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3E1B#FFFFFF#000000##FFFFFF
##0C3E1B1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3818
Deuteranopia (green-blind)
#39341E
Tritanopia (blue-blind)
#003D36
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0c3e1b;
/* rgb */ color: rgb(12, 62, 27);
/* oklch */ color: oklch(32.2% 0.080 149.2);
Tailwind
colors: {
  custom: {
    50: '#537458',
    500: '#0c3e1b',
    950: '#000000',
  },
}
SCSS
$custom: #0c3e1b;
$custom-light: #537458;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3e1b",
  "rgb": {
    "r": 12,
    "g": 62,
    "b": 27
  },
  "hsl": {
    "h": 138,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32169,
    "c": 0.07981,
    "h": 149.2
  },
  "luminance": 0.03603
}

Semantic roles & 50–950 ramp

primary
#0C3E1B
secondary
#7A2C63
accent
#3DB7EA
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #0C3E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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