#0C4910#0C4910

#0C4910 is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.5% C 0.106 H 143.7°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#0C4910
RGBrgb(12, 73, 16)
HSLhsl(124, 72%, 17%)
HSVhsv(124, 84%, 29%)
CMYKcmyk(83.6%, 0%, 78.1%, 71.4%)
CIE-LABlab(26.39, -31.54, 27.45)
CIE-LCHlch(26.39, 41.81, 138.96°)
OKLaboklab(35.51% -0.0854 0.0627)
OKLCHoklch(35.51% 0.106 143.7)
XYZxyz(2.6275, 4.8804, 1.2936)
Luminance0.0488 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4910 #490C45
analogous
#27490C #0C4910 #0C492F
triadic
#0C4910 #100C49 #49100C
tetradic
#0C4910 #0C2749 #490C45 #492F0C
square
#0C4910 #0C2749 #490C45 #492F0C
split-complementary
#0C4910 #2F0C49 #490C27
monochromatic
#041A06 #041A06 #0C4910 #157E1C #1DB227

Accessibility & contrast

On white

10.63
#0C4910 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#0C4910 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4910
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4910#FFFFFF#000000##FFFFFF
##0C49101.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4107
Deuteranopia (green-blind)
#443D16
Tritanopia (blue-blind)
#00473E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0c4910;
/* rgb */ color: rgb(12, 73, 16);
/* oklch */ color: oklch(35.5% 0.106 143.7);
Tailwind
colors: {
  custom: {
    50: '#577c52',
    500: '#0c4910',
    950: '#000000',
  },
}
SCSS
$custom: #0c4910;
$custom-light: #577c52;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4910",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 16
  },
  "hsl": {
    "h": 123.934,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35507,
    "c": 0.10594,
    "h": 143.7
  },
  "luminance": 0.04881
}

Semantic roles & 50–950 ramp

primary
#0C4910
secondary
#852C7F
accent
#39E3EE
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #0C4910

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

Preview Lab → · Contrast checker → · Palette generator →

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