#0C4925#0C4925

#0C4925 is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.8% C 0.086 H 152.2°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#0C4925
RGBrgb(12, 73, 37)
HSLhsl(145, 72%, 17%)
HSVhsv(145, 84%, 29%)
CMYKcmyk(83.6%, 0%, 49.3%, 71.4%)
CIE-LABlab(26.67, -28.25, 16.27)
CIE-LCHlch(26.67, 32.61, 150.06°)
OKLaboklab(35.83% -0.076 0.0401)
OKLCHoklch(35.83% 0.086 152.2)
XYZxyz(2.8678, 4.9765, 2.5593)
Luminance0.0498 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4925 #490C30
analogous
#12490C #0C4925 #0C4944
triadic
#0C4925 #250C49 #49250C
tetradic
#0C4925 #0C1249 #490C30 #49440C
square
#0C4925 #0C1249 #490C30 #49440C
split-complementary
#0C4925 #440C49 #490C12
monochromatic
#041A0D #041A0D #0C4925 #157E40 #1DB25A

Accessibility & contrast

On white

10.52
#0C4925 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#0C4925 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4925
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4925#FFFFFF#000000##FFFFFF
##0C49251.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494222
Deuteranopia (green-blind)
#423D27
Tritanopia (blue-blind)
#004840
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0c4925;
/* rgb */ color: rgb(12, 73, 37);
/* oklch */ color: oklch(35.8% 0.086 152.2);
Tailwind
colors: {
  custom: {
    50: '#567c60',
    500: '#0c4925',
    950: '#000000',
  },
}
SCSS
$custom: #0c4925;
$custom-light: #567c60;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4925",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 37
  },
  "hsl": {
    "h": 144.59,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35826,
    "c": 0.08593,
    "h": 152.2
  },
  "luminance": 0.04977
}

Semantic roles & 50–950 ramp

primary
#0C4925
secondary
#852C60
accent
#39A4EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030905
muted
#787B79

Preview Lab

Preview with #0C4925

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

Preview Lab → · Contrast checker → · Palette generator →

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