#0C3E1F#0C3E1F

#0C3E1F is a dark, moderate green. Relative luminance 0.036; OKLCH L 32.3% C 0.075 H 151.8°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#0C3E1F
RGBrgb(12, 62, 31)
HSLhsl(143, 68%, 15%)
HSVhsv(143, 81%, 24%)
CMYKcmyk(80.6%, 0%, 50%, 75.7%)
CIE-LABlab(22.38, -24.66, 14.45)
CIE-LCHlch(22.38, 28.58, 149.63°)
OKLaboklab(32.25% -0.0664 0.0356)
OKLCHoklch(32.25% 0.075 151.8)
XYZxyz(2.1214, 3.6221, 1.8834)
Luminance0.0362 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3E1F #3E0C2B
analogous
#123E0C #0C3E1F #0C3E38
triadic
#0C3E1F #1F0C3E #3E1F0C
tetradic
#0C3E1F #0C123E #3E0C2B #3E380C
square
#0C3E1F #0C123E #3E0C2B #3E380C
split-complementary
#0C3E1F #380C3E #3E0C12
monochromatic
#051A0D #051A0D #0C3E1F #167139 #20A552

Accessibility & contrast

On white

12.18
#0C3E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C3E1F
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3E1F#FFFFFF#000000##FFFFFF
##0C3E1F1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E381D
Deuteranopia (green-blind)
#383421
Tritanopia (blue-blind)
#003D36
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0c3e1f;
/* rgb */ color: rgb(12, 62, 31);
/* oklch */ color: oklch(32.3% 0.075 151.8);
Tailwind
colors: {
  custom: {
    50: '#53745b',
    500: '#0c3e1f',
    950: '#000000',
  },
}
SCSS
$custom: #0c3e1f;
$custom-light: #53745b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3e1f",
  "rgb": {
    "r": 12,
    "g": 62,
    "b": 31
  },
  "hsl": {
    "h": 142.8,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.3225,
    "c": 0.07537,
    "h": 151.8
  },
  "luminance": 0.03622
}

Semantic roles & 50–950 ramp

primary
#0C3E1F
secondary
#7A2C5C
accent
#3DA9EA
background
#F5F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0C3E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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