#0C4D25#0C4D25

#0C4D25 is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.1% C 0.092 H 151.1°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#0C4D25
RGBrgb(12, 77, 37)
HSLhsl(143, 73%, 17%)
HSVhsv(143, 84%, 30%)
CMYKcmyk(84.4%, 0%, 51.9%, 69.8%)
CIE-LABlab(28.17, -29.95, 18.19)
CIE-LCHlch(28.17, 35.04, 148.73°)
OKLaboklab(37.06% -0.0805 0.0445)
OKLCHoklch(37.06% 0.092 151.1)
XYZxyz(3.1392, 5.5191, 2.6498)
Luminance0.0552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D25 #4D0C34
analogous
#134D0C #0C4D25 #0C4D46
triadic
#0C4D25 #250C4D #4D250C
tetradic
#0C4D25 #0C134D #4D0C34 #4D460C
square
#0C4D25 #0C134D #4D0C34 #4D460C
split-complementary
#0C4D25 #460C4D #4D0C13
monochromatic
#041A0D #041A0D #0C4D25 #14823E #1DB758

Accessibility & contrast

On white

9.98
#0C4D25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#0C4D25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4D25
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D25#FFFFFF#000000##FFFFFF
##0C4D251.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4622
Deuteranopia (green-blind)
#464028
Tritanopia (blue-blind)
#004C43
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0c4d25;
/* rgb */ color: rgb(12, 77, 37);
/* oklch */ color: oklch(37.1% 0.092 151.1);
Tailwind
colors: {
  custom: {
    50: '#577f60',
    500: '#0c4d25',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d25;
$custom-light: #577f60;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d25",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 37
  },
  "hsl": {
    "h": 143.077,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37064,
    "c": 0.09196,
    "h": 151.1
  },
  "luminance": 0.05519
}

Semantic roles & 50–950 ramp

primary
#0C4D25
secondary
#892C65
accent
#38A9F0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A05
muted
#797C79

Preview Lab

Preview with #0C4D25

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

Preview Lab → · Contrast checker → · Palette generator →

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