#0C2A08#0C2A08

#0C2A08 is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.3% C 0.068 H 141.3°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#0C2A08
RGBrgb(12, 42, 8)
HSLhsl(113, 68%, 10%)
HSVhsv(113, 81%, 16%)
CMYKcmyk(71.4%, 0%, 81%, 83.5%)
CIE-LABlab(14.13, -19.44, 17.00)
CIE-LCHlch(14.13, 25.83, 138.82°)
OKLaboklab(25.32% -0.0531 0.0425)
OKLCHoklch(25.32% 0.068 141.3)
XYZxyz(1.0234, 1.7515, 0.5138)
Luminance0.0175 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2A08 #26082A
analogous
#1D2A08 #0C2A08 #082A15
triadic
#0C2A08 #080C2A #2A080C
tetradic
#0C2A08 #081D2A #26082A #2A1508
square
#0C2A08 #081D2A #26082A #2A1508
split-complementary
#0C2A08 #15082A #2A081D
monochromatic
#071A05 #071A05 #0C2A08 #1B5D12 #29911C

Accessibility & contrast

On white

15.55
#0C2A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0C2A08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2A08
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2A08#FFFFFF#000000##FFFFFF
##0C2A081.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2505
Deuteranopia (green-blind)
#27230B
Tritanopia (blue-blind)
#082823
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0c2a08;
/* rgb */ color: rgb(12, 42, 8);
/* oklch */ color: oklch(25.3% 0.068 141.3);
Tailwind
colors: {
  custom: {
    50: '#4e644a',
    500: '#0c2a08',
    950: '#000000',
  },
}
SCSS
$custom: #0c2a08;
$custom-light: #4e644a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2a08",
  "rgb": {
    "r": 12,
    "g": 42,
    "b": 8
  },
  "hsl": {
    "h": 112.941,
    "s": 68,
    "l": 9.804
  },
  "oklch": {
    "l": 0.25323,
    "c": 0.06801,
    "h": 141.3
  },
  "luminance": 0.01752
}

Semantic roles & 50–950 ramp

primary
#0C2A08
secondary
#612569
accent
#3DEBD6
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020501
muted
#787A77

Preview Lab

Preview with #0C2A08

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

Preview Lab → · Contrast checker → · Palette generator →

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