#0C2F08#0C2F08

#0C2F08 is a dark, moderate green. Relative luminance 0.021; OKLCH L 27.0% C 0.076 H 141.6°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#0C2F08
RGBrgb(12, 47, 8)
HSLhsl(114, 71%, 11%)
HSVhsv(114, 83%, 18%)
CMYKcmyk(74.5%, 0%, 83%, 81.6%)
CIE-LABlab(16.15, -21.76, 19.59)
CIE-LCHlch(16.15, 29.28, 138.00°)
OKLaboklab(26.99% -0.0594 0.0471)
OKLCHoklch(26.99% 0.076 141.6)
XYZxyz(1.2119, 2.1286, 0.5767)
Luminance0.0213 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F08 #2B082F
analogous
#1F2F08 #0C2F08 #082F17
triadic
#0C2F08 #080C2F #2F080C
tetradic
#0C2F08 #081F2F #2B082F #2F1708
square
#0C2F08 #081F2F #2B082F #2F1708
split-complementary
#0C2F08 #17082F #2F081F
monochromatic
#071A04 #071A04 #0C2F08 #196311 #27981A

Accessibility & contrast

On white

14.73
#0C2F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0C2F08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2F08
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F08#FFFFFF#000000##FFFFFF
##0C2F081.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A04
Deuteranopia (green-blind)
#2C270C
Tritanopia (blue-blind)
#072D27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2f08;
/* rgb */ color: rgb(12, 47, 8);
/* oklch */ color: oklch(27.0% 0.076 141.6);
Tailwind
colors: {
  custom: {
    50: '#50684a',
    500: '#0c2f08',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f08;
$custom-light: #50684a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f08",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 8
  },
  "hsl": {
    "h": 113.846,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.26993,
    "c": 0.07577,
    "h": 141.6
  },
  "luminance": 0.02129
}

Semantic roles & 50–950 ramp

primary
#0C2F08
secondary
#66256E
accent
#3AEEDB
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C2F08

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

Preview Lab → · Contrast checker → · Palette generator →

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