#0C2D04#0C2D04

#0C2D04 is a dark, moderate green. Relative luminance 0.020; OKLCH L 26.3% C 0.077 H 139.8°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#0C2D04
RGBrgb(12, 45, 4)
HSLhsl(108, 84%, 10%)
HSVhsv(108, 91%, 18%)
CMYKcmyk(73.3%, 0%, 91.1%, 82.4%)
CIE-LABlab(15.30, -21.39, 20.14)
CIE-LCHlch(15.30, 29.38, 136.72°)
OKLaboklab(26.27% -0.0588 0.0496)
OKLCHoklch(26.27% 0.077 139.8)
XYZxyz(1.1119, 1.9636, 0.4353)
Luminance0.0196 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D04 #25042D
analogous
#212D04 #0C2D04 #042D11
triadic
#0C2D04 #040C2D #2D040C
tetradic
#0C2D04 #04212D #25042D #2D1104
square
#0C2D04 #04212D #25042D #2D1104
split-complementary
#0C2D04 #11042D #2D0421
monochromatic
#071C02 #071C02 #0C2D04 #1B6509 #2A9D0E

Accessibility & contrast

On white

15.08
#0C2D04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0C2D04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2D04
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D04#FFFFFF#000000##FFFFFF
##0C2D041.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2B2507
Tritanopia (blue-blind)
#082B25
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c2d04;
/* rgb */ color: rgb(12, 45, 4);
/* oklch */ color: oklch(26.3% 0.077 139.8);
Tailwind
colors: {
  custom: {
    50: '#4f6648',
    500: '#0c2d04',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d04;
$custom-light: #4f6648;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d04",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 4
  },
  "hsl": {
    "h": 108.293,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26273,
    "c": 0.07689,
    "h": 139.8
  },
  "luminance": 0.01964
}

Semantic roles & 50–950 ramp

primary
#0C2D04
secondary
#601D70
accent
#2EFAD2
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #0C2D04

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

Preview Lab → · Contrast checker → · Palette generator →

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