#0C4D10#0C4D10

#0C4D10 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.8% C 0.111 H 143.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#0C4D10
RGBrgb(12, 77, 16)
HSLhsl(124, 73%, 17%)
HSVhsv(124, 84%, 30%)
CMYKcmyk(84.4%, 0%, 79.2%, 69.8%)
CIE-LABlab(27.91, -33.04, 29.03)
CIE-LCHlch(27.91, 43.98, 138.70°)
OKLaboklab(36.77% -0.0895 0.066)
OKLCHoklch(36.77% 0.111 143.6)
XYZxyz(2.8988, 5.4230, 1.3841)
Luminance0.0542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D10 #4D0C49
analogous
#294D0C #0C4D10 #0C4D30
triadic
#0C4D10 #100C4D #4D100C
tetradic
#0C4D10 #0C294D #4D0C49 #4D300C
square
#0C4D10 #0C294D #4D0C49 #4D300C
split-complementary
#0C4D10 #300C4D #4D0C29
monochromatic
#041A06 #041A06 #0C4D10 #14821B #1DB726

Accessibility & contrast

On white

10.07
#0C4D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#0C4D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4D10
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D10#FFFFFF#000000##FFFFFF
##0C4D101.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4506
Deuteranopia (green-blind)
#484016
Tritanopia (blue-blind)
#004B41
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0c4d10;
/* rgb */ color: rgb(12, 77, 16);
/* oklch */ color: oklch(36.8% 0.111 143.6);
Tailwind
colors: {
  custom: {
    50: '#588052',
    500: '#0c4d10',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d10;
$custom-light: #588052;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d10",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 16
  },
  "hsl": {
    "h": 123.692,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36767,
    "c": 0.11119,
    "h": 143.6
  },
  "luminance": 0.05423
}

Semantic roles & 50–950 ramp

primary
#0C4D10
secondary
#892C83
accent
#38E4F0
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0C4D10

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

Preview Lab → · Contrast checker → · Palette generator →

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