#0C430C#0C430C

#0C430C is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.6% C 0.101 H 142.9°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#0C430C
RGBrgb(12, 67, 12)
HSLhsl(120, 70%, 15%)
HSVhsv(120, 82%, 26%)
CMYKcmyk(82.1%, 0%, 82.1%, 73.7%)
CIE-LABlab(24.06, -29.64, 26.83)
CIE-LCHlch(24.06, 39.98, 137.85°)
OKLaboklab(33.56% -0.0805 0.0608)
OKLCHoklch(33.56% 0.101 142.9)
XYZxyz(2.2250, 4.1188, 1.0255)
Luminance0.0412 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C430C #430C43
analogous
#27430C #0C430C #0C4327
triadic
#0C430C #0C0C43 #430C0C
tetradic
#0C430C #0C2743 #430C43 #43270C
square
#0C430C #0C2743 #430C43 #43270C
split-complementary
#0C430C #270C43 #430C27
monochromatic
#051A05 #051A05 #0C430C #157715 #1FAB1F

Accessibility & contrast

On white

11.51
#0C430C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#0C430C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C430C
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C430C#FFFFFF#000000##FFFFFF
##0C430C1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C04
Deuteranopia (green-blind)
#3E3812
Tritanopia (blue-blind)
#004138
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0c430c;
/* rgb */ color: rgb(12, 67, 12);
/* oklch */ color: oklch(33.6% 0.101 142.9);
Tailwind
colors: {
  custom: {
    50: '#56784f',
    500: '#0c430c',
    950: '#000000',
  },
}
SCSS
$custom: #0c430c;
$custom-light: #56784f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c430c",
  "rgb": {
    "r": 12,
    "g": 67,
    "b": 12
  },
  "hsl": {
    "h": 120,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33561,
    "c": 0.10087,
    "h": 142.9
  },
  "luminance": 0.04119
}

Semantic roles & 50–950 ramp

primary
#0C430C
secondary
#7F2C7F
accent
#3BECEC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #0C430C

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

Preview Lab → · Contrast checker → · Palette generator →

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