#0C4926#0C4926

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

Color values

HEX#0C4926
RGBrgb(12, 73, 38)
HSLhsl(146, 72%, 17%)
HSVhsv(146, 84%, 29%)
CMYKcmyk(83.6%, 0%, 47.9%, 71.4%)
CIE-LABlab(26.69, -28.04, 15.69)
CIE-LCHlch(26.69, 32.13, 150.78°)
OKLaboklab(35.85% -0.0755 0.0388)
OKLCHoklch(35.85% 0.085 152.8)
XYZxyz(2.8838, 4.9829, 2.6431)
Luminance0.0498 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4926 #490C2F
analogous
#10490C #0C4926 #0C4945
triadic
#0C4926 #260C49 #49260C
tetradic
#0C4926 #0C1049 #490C2F #49450C
square
#0C4926 #0C1049 #490C2F #49450C
split-complementary
#0C4926 #450C49 #490C10
monochromatic
#041A0E #041A0E #0C4926 #157E41 #1DB25D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C4926#FFFFFF#000000##FFFFFF
##0C49261.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)
#494223
Deuteranopia (green-blind)
#423D28
Tritanopia (blue-blind)
#004840
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0c4926;
/* rgb */ color: rgb(12, 73, 38);
/* oklch */ color: oklch(35.8% 0.085 152.8);
Tailwind
colors: {
  custom: {
    50: '#567c60',
    500: '#0c4926',
    950: '#000000',
  },
}
SCSS
$custom: #0c4926;
$custom-light: #567c60;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4926",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 38
  },
  "hsl": {
    "h": 145.574,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35847,
    "c": 0.08484,
    "h": 152.8
  },
  "luminance": 0.04983
}

Semantic roles & 50–950 ramp

primary
#0C4926
secondary
#852C5F
accent
#39A1EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030905
muted
#787B79

Preview Lab

Preview with #0C4926

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

Preview Lab → · Contrast checker → · Palette generator →

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