#0C320F#0C320F

#0C320F is a dark, moderate green. Relative luminance 0.024; OKLCH L 28.1% C 0.074 H 144.5°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#0C320F
RGBrgb(12, 50, 15)
HSLhsl(125, 61%, 12%)
HSVhsv(125, 76%, 20%)
CMYKcmyk(76%, 0%, 70%, 80.4%)
CIE-LABlab(17.43, -22.17, 18.02)
CIE-LCHlch(17.43, 28.57, 140.89°)
OKLaboklab(28.08% -0.06 0.0428)
OKLCHoklch(28.08% 0.074 144.5)
XYZxyz(1.3784, 2.3937, 0.8412)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C320F #320C2F
analogous
#1C320C #0C320F #0C3222
triadic
#0C320F #0F0C32 #320F0C
tetradic
#0C320F #0C1C32 #320C2F #32220C
square
#0C320F #0C1C32 #320C2F #32220C
split-complementary
#0C320F #220C32 #320C1C
monochromatic
#061907 #061907 #0C320F #18631E #24952D

Accessibility & contrast

On white

14.20
#0C320F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0C320F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C320F
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C320F#FFFFFF#000000##FFFFFF
##0C320F1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D0B
Deuteranopia (green-blind)
#2E2A12
Tritanopia (blue-blind)
#04302A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c320f;
/* rgb */ color: rgb(12, 50, 15);
/* oklch */ color: oklch(28.1% 0.074 144.5);
Tailwind
colors: {
  custom: {
    50: '#506a4e',
    500: '#0c320f',
    950: '#000000',
  },
}
SCSS
$custom: #0c320f;
$custom-light: #506a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c320f",
  "rgb": {
    "r": 12,
    "g": 50,
    "b": 15
  },
  "hsl": {
    "h": 124.737,
    "s": 61.29,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28079,
    "c": 0.0737,
    "h": 144.5
  },
  "luminance": 0.02394
}

Semantic roles & 50–950 ramp

primary
#0C320F
secondary
#6E2C69
accent
#43D8E4
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C320F

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

Preview Lab → · Contrast checker → · Palette generator →

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