#0C4825#0C4825

#0C4825 is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.5% C 0.084 H 152.5°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#0C4825
RGBrgb(12, 72, 37)
HSLhsl(145, 71%, 16%)
HSVhsv(145, 83%, 28%)
CMYKcmyk(83.3%, 0%, 48.6%, 71.8%)
CIE-LABlab(26.29, -27.82, 15.79)
CIE-LCHlch(26.29, 31.99, 150.42°)
OKLaboklab(35.52% -0.0749 0.039)
OKLCHoklch(35.52% 0.084 152.5)
XYZxyz(2.8027, 4.8461, 2.5376)
Luminance0.0485 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4825 #480C2F
analogous
#11480C #0C4825 #0C4843
triadic
#0C4825 #250C48 #48250C
tetradic
#0C4825 #0C1148 #480C2F #48430C
square
#0C4825 #0C1148 #480C2F #48430C
split-complementary
#0C4825 #430C48 #480C11
monochromatic
#041A0D #041A0D #0C4825 #157C40 #1DB15B

Accessibility & contrast

On white

10.66
#0C4825 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#0C4825 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4825
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4825#FFFFFF#000000##FFFFFF
##0C48251.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484122
Deuteranopia (green-blind)
#413C27
Tritanopia (blue-blind)
#00473F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0c4825;
/* rgb */ color: rgb(12, 72, 37);
/* oklch */ color: oklch(35.5% 0.084 152.5);
Tailwind
colors: {
  custom: {
    50: '#567c60',
    500: '#0c4825',
    950: '#000000',
  },
}
SCSS
$custom: #0c4825;
$custom-light: #567c60;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4825",
  "rgb": {
    "r": 12,
    "g": 72,
    "b": 37
  },
  "hsl": {
    "h": 145,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35515,
    "c": 0.08439,
    "h": 152.5
  },
  "luminance": 0.04846
}

Semantic roles & 50–950 ramp

primary
#0C4825
secondary
#842C5F
accent
#3AA3EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0C4825

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

Preview Lab → · Contrast checker → · Palette generator →

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