#0C4A15#0C4A15

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

Color values

HEX#0C4A15
RGBrgb(12, 74, 21)
HSLhsl(129, 72%, 17%)
HSVhsv(129, 84%, 29%)
CMYKcmyk(83.8%, 0%, 71.6%, 71%)
CIE-LABlab(26.82, -31.33, 25.50)
CIE-LCHlch(26.82, 40.40, 140.86°)
OKLaboklab(35.88% -0.0846 0.0593)
OKLCHoklch(35.88% 0.103 145)
XYZxyz(2.7356, 5.0295, 1.5359)
Luminance0.0503 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4A15 #4A0C41
analogous
#224A0C #0C4A15 #0C4A34
triadic
#0C4A15 #150C4A #4A150C
tetradic
#0C4A15 #0C224A #4A0C41 #4A340C
square
#0C4A15 #0C224A #4A0C41 #4A340C
split-complementary
#0C4A15 #340C4A #4A0C22
monochromatic
#041A07 #041A07 #0C4A15 #157F24 #1DB333

Accessibility & contrast

On white

10.47
#0C4A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#0C4A15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4A15
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4A15#FFFFFF#000000##FFFFFF
##0C4A151.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B420E
Deuteranopia (green-blind)
#443E1A
Tritanopia (blue-blind)
#00483F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0c4a15;
/* rgb */ color: rgb(12, 74, 21);
/* oklch */ color: oklch(35.9% 0.103 145.0);
Tailwind
colors: {
  custom: {
    50: '#577d55',
    500: '#0c4a15',
    950: '#000000',
  },
}
SCSS
$custom: #0c4a15;
$custom-light: #577d55;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4a15",
  "rgb": {
    "r": 12,
    "g": 74,
    "b": 21
  },
  "hsl": {
    "h": 128.71,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35878,
    "c": 0.10328,
    "h": 145
  },
  "luminance": 0.0503
}

Semantic roles & 50–950 ramp

primary
#0C4A15
secondary
#862C79
accent
#39D4EF
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0C4A15

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

Preview Lab → · Contrast checker → · Palette generator →

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