#0C4D1B#0C4D1B

#0C4D1B is a dark, moderate green. Relative luminance 0.055; OKLCH L 36.9% C 0.102 H 146.7°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#0C4D1B
RGBrgb(12, 77, 27)
HSLhsl(134, 73%, 17%)
HSVhsv(134, 84%, 30%)
CMYKcmyk(84.4%, 0%, 64.9%, 69.8%)
CIE-LABlab(28.02, -31.67, 23.72)
CIE-LCHlch(28.02, 39.57, 143.17°)
OKLaboklab(36.9% -0.0853 0.0561)
OKLCHoklch(36.9% 0.102 146.7)
XYZxyz(3.0031, 5.4647, 1.9332)
Luminance0.0546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D1B #4D0C3E
analogous
#1E4D0C #0C4D1B #0C4D3B
triadic
#0C4D1B #1B0C4D #4D1B0C
tetradic
#0C4D1B #0C1E4D #4D0C3E #4D3B0C
square
#0C4D1B #0C1E4D #4D0C3E #4D3B0C
split-complementary
#0C4D1B #3B0C4D #4D0C1E
monochromatic
#041A09 #041A09 #0C4D1B #14822E #1DB740

Accessibility & contrast

On white

10.03
#0C4D1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#0C4D1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4D1B
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D1B#FFFFFF#000000##FFFFFF
##0C4D1B1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4516
Deuteranopia (green-blind)
#47401F
Tritanopia (blue-blind)
#004B42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0c4d1b;
/* rgb */ color: rgb(12, 77, 27);
/* oklch */ color: oklch(36.9% 0.102 146.7);
Tailwind
colors: {
  custom: {
    50: '#588059',
    500: '#0c4d1b',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d1b;
$custom-light: #588059;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d1b",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 27
  },
  "hsl": {
    "h": 133.846,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36896,
    "c": 0.10205,
    "h": 146.7
  },
  "luminance": 0.05465
}

Semantic roles & 50–950 ramp

primary
#0C4D1B
secondary
#892C73
accent
#38C5F0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0C4D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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