#0C4603#0C4603

#0C4603 is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.4% C 0.111 H 141.2°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#0C4603
RGBrgb(12, 70, 3)
HSLhsl(112, 92%, 14%)
HSVhsv(112, 96%, 27%)
CMYKcmyk(82.9%, 0%, 95.7%, 72.5%)
CIE-LABlab(25.15, -31.55, 31.59)
CIE-LCHlch(25.15, 44.64, 134.97°)
OKLaboklab(34.45% -0.0862 0.0692)
OKLCHoklch(34.45% 0.111 141.2)
XYZxyz(2.3581, 4.4648, 0.8236)
Luminance0.0447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4603 #3D0346
analogous
#2E4603 #0C4603 #03461C
triadic
#0C4603 #030C46 #46030C
tetradic
#0C4603 #032E46 #3D0346 #461C03
square
#0C4603 #032E46 #3D0346 #461C03
split-complementary
#0C4603 #1C0346 #46032E
monochromatic
#051D01 #051D01 #0C4603 #168106 #20BB08

Accessibility & contrast

On white

11.09
#0C4603 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#0C4603 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4603
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4603#FFFFFF#000000##FFFFFF
##0C46031.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483E00
Deuteranopia (green-blind)
#423A0B
Tritanopia (blue-blind)
#00433A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0c4603;
/* rgb */ color: rgb(12, 70, 3);
/* oklch */ color: oklch(34.4% 0.111 141.2);
Tailwind
colors: {
  custom: {
    50: '#577a4b',
    500: '#0c4603',
    950: '#000000',
  },
}
SCSS
$custom: #0c4603;
$custom-light: #577a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4603",
  "rgb": {
    "r": 12,
    "g": 70,
    "b": 3
  },
  "hsl": {
    "h": 111.94,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.34448,
    "c": 0.11053,
    "h": 141.2
  },
  "luminance": 0.04465
}

Semantic roles & 50–950 ramp

primary
#0C4603
secondary
#791D87
accent
#29FFE2
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040901
muted
#797B77

Preview Lab

Preview with #0C4603

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

Preview Lab → · Contrast checker → · Palette generator →

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