#0C4922#0C4922

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

Color values

HEX#0C4922
RGBrgb(12, 73, 34)
HSLhsl(142, 72%, 17%)
HSVhsv(142, 84%, 29%)
CMYKcmyk(83.6%, 0%, 53.4%, 71.4%)
CIE-LABlab(26.62, -28.85, 18.02)
CIE-LCHlch(26.62, 34.02, 148.01°)
OKLaboklab(35.77% -0.0776 0.044)
OKLCHoklch(35.77% 0.089 150.5)
XYZxyz(2.8227, 4.9584, 2.3214)
Luminance0.0496 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4922 #490C33
analogous
#15490C #0C4922 #0C4941
triadic
#0C4922 #220C49 #49220C
tetradic
#0C4922 #0C1549 #490C33 #49410C
square
#0C4922 #0C1549 #490C33 #49410C
split-complementary
#0C4922 #410C49 #490C15
monochromatic
#041A0C #041A0C #0C4922 #157E3A #1DB253

Accessibility & contrast

On white

10.54
#0C4922 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4922
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4922#FFFFFF#000000##FFFFFF
##0C49221.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49421F
Deuteranopia (green-blind)
#423D25
Tritanopia (blue-blind)
#004840
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0c4922;
/* rgb */ color: rgb(12, 73, 34);
/* oklch */ color: oklch(35.8% 0.089 150.5);
Tailwind
colors: {
  custom: {
    50: '#567c5e',
    500: '#0c4922',
    950: '#000000',
  },
}
SCSS
$custom: #0c4922;
$custom-light: #567c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4922",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 34
  },
  "hsl": {
    "h": 141.639,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35766,
    "c": 0.08915,
    "h": 150.5
  },
  "luminance": 0.04959
}

Semantic roles & 50–950 ramp

primary
#0C4922
secondary
#852C65
accent
#39ADEE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0C4922

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

Preview Lab → · Contrast checker → · Palette generator →

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