#0C2D08#0C2D08

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

Color values

HEX#0C2D08
RGBrgb(12, 45, 8)
HSLhsl(114, 70%, 10%)
HSVhsv(114, 82%, 18%)
CMYKcmyk(73.3%, 0%, 82.2%, 82.4%)
CIE-LABlab(15.34, -20.85, 18.58)
CIE-LCHlch(15.34, 27.92, 138.30°)
OKLaboklab(26.33% -0.0569 0.0453)
OKLCHoklch(26.33% 0.073 141.5)
XYZxyz(1.1338, 1.9724, 0.5506)
Luminance0.0197 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D08 #29082D
analogous
#1E2D08 #0C2D08 #082D16
triadic
#0C2D08 #080C2D #2D080C
tetradic
#0C2D08 #081E2D #29082D #2D1608
square
#0C2D08 #081E2D #29082D #2D1608
split-complementary
#0C2D08 #16082D #2D081E
monochromatic
#071A05 #071A05 #0C2D08 #1A6111 #28951A

Accessibility & contrast

On white

15.06
#0C2D08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2D08
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D08#FFFFFF#000000##FFFFFF
##0C2D081.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2804
Deuteranopia (green-blind)
#2A250B
Tritanopia (blue-blind)
#072B25
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c2d08;
/* rgb */ color: rgb(12, 45, 8);
/* oklch */ color: oklch(26.3% 0.073 141.5);
Tailwind
colors: {
  custom: {
    50: '#4f664a',
    500: '#0c2d08',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d08;
$custom-light: #4f664a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d08",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 8
  },
  "hsl": {
    "h": 113.514,
    "s": 69.811,
    "l": 10.392
  },
  "oklch": {
    "l": 0.26326,
    "c": 0.07272,
    "h": 141.5
  },
  "luminance": 0.01972
}

Semantic roles & 50–950 ramp

primary
#0C2D08
secondary
#64256C
accent
#3BEDD9
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C2D08

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

Preview Lab → · Contrast checker → · Palette generator →

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