#0C4E03#0C4E03

#0C4E03 is a dark, vivid green. Relative luminance 0.055; OKLCH L 37.0% C 0.120 H 141.5°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#0C4E03
RGBrgb(12, 78, 3)
HSLhsl(113, 93%, 16%)
HSVhsv(113, 96%, 31%)
CMYKcmyk(84.6%, 0%, 96.2%, 69.4%)
CIE-LABlab(28.20, -34.43, 34.30)
CIE-LCHlch(28.20, 48.60, 135.10°)
OKLaboklab(36.99% -0.0939 0.0748)
OKLCHoklch(36.99% 0.12 141.5)
XYZxyz(2.8923, 5.5332, 1.0017)
Luminance0.0553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4E03 #45034E
analogous
#314E03 #0C4E03 #034E1F
triadic
#0C4E03 #030C4E #4E030C
tetradic
#0C4E03 #03314E #45034E #4E1F03
square
#0C4E03 #03314E #45034E #4E1F03
split-complementary
#0C4E03 #1F034E #4E0331
monochromatic
#051D01 #051D01 #0C4E03 #158905 #1EC408

Accessibility & contrast

On white

9.97
#0C4E03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#0C4E03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4E03
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4E03#FFFFFF#000000##FFFFFF
##0C4E031.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504600
Deuteranopia (green-blind)
#49410D
Tritanopia (blue-blind)
#004B41
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0c4e03;
/* rgb */ color: rgb(12, 78, 3);
/* oklch */ color: oklch(37.0% 0.120 141.5);
Tailwind
colors: {
  custom: {
    50: '#5a804c',
    500: '#0c4e03',
    950: '#000000',
  },
}
SCSS
$custom: #0c4e03;
$custom-light: #5a804c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4e03",
  "rgb": {
    "r": 12,
    "g": 78,
    "b": 3
  },
  "hsl": {
    "h": 112.8,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.36986,
    "c": 0.12004,
    "h": 141.5
  },
  "luminance": 0.05534
}

Semantic roles & 50–950 ramp

primary
#0C4E03
secondary
#811E8E
accent
#29FFE5
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A01
muted
#797C77

Preview Lab

Preview with #0C4E03

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

Preview Lab → · Contrast checker → · Palette generator →

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