#0C4921#0C4921

#0C4921 is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.7% C 0.090 H 149.9°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#0C4921
RGBrgb(12, 73, 33)
HSLhsl(141, 72%, 17%)
HSVhsv(141, 84%, 29%)
CMYKcmyk(83.6%, 0%, 54.8%, 71.4%)
CIE-LABlab(26.60, -29.04, 18.59)
CIE-LCHlch(26.60, 34.48, 147.37°)
OKLaboklab(35.75% -0.0781 0.0452)
OKLCHoklch(35.75% 0.09 149.9)
XYZxyz(2.8084, 4.9527, 2.2465)
Luminance0.0495 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4921 #490C34
analogous
#16490C #0C4921 #0C4940
triadic
#0C4921 #210C49 #49210C
tetradic
#0C4921 #0C1649 #490C34 #49400C
square
#0C4921 #0C1649 #490C34 #49400C
split-complementary
#0C4921 #400C49 #490C16
monochromatic
#041A0C #041A0C #0C4921 #157E39 #1DB251

Accessibility & contrast

On white

10.55
#0C4921 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#0C4921 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4921
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4921#FFFFFF#000000##FFFFFF
##0C49211.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A421E
Deuteranopia (green-blind)
#423D24
Tritanopia (blue-blind)
#004840
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0c4921;
/* rgb */ color: rgb(12, 73, 33);
/* oklch */ color: oklch(35.7% 0.090 149.9);
Tailwind
colors: {
  custom: {
    50: '#567c5d',
    500: '#0c4921',
    950: '#000000',
  },
}
SCSS
$custom: #0c4921;
$custom-light: #567c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4921",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 33
  },
  "hsl": {
    "h": 140.656,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35748,
    "c": 0.0902,
    "h": 149.9
  },
  "luminance": 0.04953
}

Semantic roles & 50–950 ramp

primary
#0C4921
secondary
#852C66
accent
#39B0EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0C4921

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

Preview Lab → · Contrast checker → · Palette generator →

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