#0C3E18#0C3E18

#0C3E18 is a dark, moderate green. Relative luminance 0.036; OKLCH L 32.1% C 0.083 H 147.5°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#0C3E18
RGBrgb(12, 62, 24)
HSLhsl(134, 68%, 15%)
HSVhsv(134, 81%, 24%)
CMYKcmyk(80.6%, 0%, 61.3%, 75.7%)
CIE-LABlab(22.26, -26.00, 18.57)
CIE-LCHlch(22.26, 31.95, 144.46°)
OKLaboklab(32.12% -0.07 0.0446)
OKLCHoklch(32.12% 0.083 147.5)
XYZxyz(2.0390, 3.5891, 1.4493)
Luminance0.0359 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3E18 #3E0C32
analogous
#193E0C #0C3E18 #0C3E31
triadic
#0C3E18 #180C3E #3E180C
tetradic
#0C3E18 #0C193E #3E0C32 #3E310C
square
#0C3E18 #0C193E #3E0C32 #3E310C
split-complementary
#0C3E18 #310C3E #3E0C19
monochromatic
#051A0A #051A0A #0C3E18 #16712C #20A540

Accessibility & contrast

On white

12.22
#0C3E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C3E18
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3E18#FFFFFF#000000##FFFFFF
##0C3E181.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3815
Deuteranopia (green-blind)
#39341B
Tritanopia (blue-blind)
#003C35
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0c3e18;
/* rgb */ color: rgb(12, 62, 24);
/* oklch */ color: oklch(32.1% 0.083 147.5);
Tailwind
colors: {
  custom: {
    50: '#537456',
    500: '#0c3e18',
    950: '#000000',
  },
}
SCSS
$custom: #0c3e18;
$custom-light: #537456;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3e18",
  "rgb": {
    "r": 12,
    "g": 62,
    "b": 24
  },
  "hsl": {
    "h": 134.4,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32115,
    "c": 0.08302,
    "h": 147.5
  },
  "luminance": 0.03589
}

Semantic roles & 50–950 ramp

primary
#0C3E18
secondary
#7A2C67
accent
#3DC1EA
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #0C3E18

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

Preview Lab → · Contrast checker → · Palette generator →

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