#0C3922#0C3922

#0C3922 is a dark, moderate green. Relative luminance 0.031; OKLCH L 30.7% C 0.064 H 156.6°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#0C3922
RGBrgb(12, 57, 34)
HSLhsl(149, 65%, 14%)
HSVhsv(149, 79%, 22%)
CMYKcmyk(78.9%, 0%, 40.4%, 77.6%)
CIE-LABlab(20.52, -21.62, 10.06)
CIE-LCHlch(20.52, 23.85, 155.05°)
OKLaboklab(30.74% -0.0586 0.0253)
OKLCHoklch(30.74% 0.064 156.6)
XYZxyz(1.9033, 3.1197, 2.0149)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3922 #390C23
analogous
#0D390C #0C3922 #0C3938
triadic
#0C3922 #220C39 #39220C
tetradic
#0C3922 #0C0D39 #390C23 #39380C
square
#0C3922 #0C0D39 #390C23 #39380C
split-complementary
#0C3922 #380C39 #390C0D
monochromatic
#05190F #05190F #0C3922 #176C40 #219E5E

Accessibility & contrast

On white

12.93
#0C3922 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#0C3922 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3922
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3922#FFFFFF#000000##FFFFFF
##0C39221.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393421
Deuteranopia (green-blind)
#333023
Tritanopia (blue-blind)
#003833
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0c3922;
/* rgb */ color: rgb(12, 57, 34);
/* oklch */ color: oklch(30.7% 0.064 156.6);
Tailwind
colors: {
  custom: {
    50: '#52705d',
    500: '#0c3922',
    950: '#000000',
  },
}
SCSS
$custom: #0c3922;
$custom-light: #52705d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3922",
  "rgb": {
    "r": 12,
    "g": 57,
    "b": 34
  },
  "hsl": {
    "h": 149.333,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.30735,
    "c": 0.06385,
    "h": 156.6
  },
  "luminance": 0.0312
}

Semantic roles & 50–950 ramp

primary
#0C3922
secondary
#752C51
accent
#4096E8
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020704
muted
#787A79

Preview Lab

Preview with #0C3922

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

Preview Lab → · Contrast checker → · Palette generator →

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