#0C3F22#0C3F22

#0C3F22 is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.6% C 0.074 H 153.7°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#0C3F22
RGBrgb(12, 63, 34)
HSLhsl(146, 68%, 15%)
HSVhsv(146, 81%, 25%)
CMYKcmyk(81%, 0%, 46%, 75.3%)
CIE-LABlab(22.82, -24.46, 13.13)
CIE-LCHlch(22.82, 27.76, 151.77°)
OKLaboklab(32.63% -0.066 0.0327)
OKLCHoklch(32.63% 0.074 153.7)
XYZxyz(2.2177, 3.7484, 2.1197)
Luminance0.0375 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3F22 #3F0C29
analogous
#103F0C #0C3F22 #0C3F3C
triadic
#0C3F22 #220C3F #3F220C
tetradic
#0C3F22 #0C103F #3F0C29 #3F3C0C
square
#0C3F22 #0C103F #3F0C29 #3F3C0C
split-complementary
#0C3F22 #3C0C3F #3F0C10
monochromatic
#051A0E #051A0E #0C3F22 #16723E #20A659

Accessibility & contrast

On white

12.00
#0C3F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#0C3F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3F22
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3F22#FFFFFF#000000##FFFFFF
##0C3F221.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3920
Deuteranopia (green-blind)
#393524
Tritanopia (blue-blind)
#003E38
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #0c3f22;
/* rgb */ color: rgb(12, 63, 34);
/* oklch */ color: oklch(32.6% 0.074 153.7);
Tailwind
colors: {
  custom: {
    50: '#53745d',
    500: '#0c3f22',
    950: '#000000',
  },
}
SCSS
$custom: #0c3f22;
$custom-light: #53745d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3f22",
  "rgb": {
    "r": 12,
    "g": 63,
    "b": 34
  },
  "hsl": {
    "h": 145.882,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32633,
    "c": 0.07361,
    "h": 153.7
  },
  "luminance": 0.03749
}

Semantic roles & 50–950 ramp

primary
#0C3F22
secondary
#7B2C59
accent
#3DA0EB
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0C3F22

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

Preview Lab → · Contrast checker → · Palette generator →

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