#0C4928#0C4928

#0C4928 is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.9% C 0.083 H 154.1°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#0C4928
RGBrgb(12, 73, 40)
HSLhsl(148, 72%, 17%)
HSVhsv(148, 84%, 29%)
CMYKcmyk(83.6%, 0%, 45.2%, 71.4%)
CIE-LABlab(26.72, -27.61, 14.50)
CIE-LCHlch(26.72, 31.19, 152.29°)
OKLaboklab(35.89% -0.0744 0.0361)
OKLCHoklch(35.89% 0.083 154.1)
XYZxyz(2.9169, 4.9961, 2.8177)
Luminance0.0500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4928 #490C2D
analogous
#0F490C #0C4928 #0C4947
triadic
#0C4928 #280C49 #49280C
tetradic
#0C4928 #0C0F49 #490C2D #49470C
square
#0C4928 #0C0F49 #490C2D #49470C
split-complementary
#0C4928 #470C49 #490C0F
monochromatic
#041A0E #041A0E #0C4928 #157E45 #1DB262

Accessibility & contrast

On white

10.50
#0C4928 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4928
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4928#FFFFFF#000000##FFFFFF
##0C49281.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494226
Deuteranopia (green-blind)
#423D2A
Tritanopia (blue-blind)
#004841
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0c4928;
/* rgb */ color: rgb(12, 73, 40);
/* oklch */ color: oklch(35.9% 0.083 154.1);
Tailwind
colors: {
  custom: {
    50: '#567c62',
    500: '#0c4928',
    950: '#000000',
  },
}
SCSS
$custom: #0c4928;
$custom-light: #567c62;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4928",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 40
  },
  "hsl": {
    "h": 147.541,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35891,
    "c": 0.08267,
    "h": 154.1
  },
  "luminance": 0.04996
}

Semantic roles & 50–950 ramp

primary
#0C4928
secondary
#852C5C
accent
#399BEE
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#030905
muted
#787B79

Preview Lab

Preview with #0C4928

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

Preview Lab → · Contrast checker → · Palette generator →

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