#0C2E09#0C2E09

#0C2E09 is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.7% C 0.073 H 142.0°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#0C2E09
RGBrgb(12, 46, 9)
HSLhsl(115, 67%, 11%)
HSVhsv(115, 80%, 18%)
CMYKcmyk(73.9%, 0%, 80.4%, 82%)
CIE-LABlab(15.76, -21.18, 18.69)
CIE-LCHlch(15.76, 28.25, 138.56°)
OKLaboklab(26.67% -0.0577 0.0452)
OKLCHoklch(26.67% 0.073 142)
XYZxyz(1.1779, 2.0518, 0.5923)
Luminance0.0205 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2E09 #2B092E
analogous
#1E2E09 #0C2E09 #092E18
triadic
#0C2E09 #090C2E #2E090C
tetradic
#0C2E09 #091E2E #2B092E #2E1809
square
#0C2E09 #091E2E #2B092E #2E1809
split-complementary
#0C2E09 #18092E #2E091E
monochromatic
#071A05 #071A05 #0C2E09 #196113 #27941D

Accessibility & contrast

On white

14.89
#0C2E09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0C2E09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2E09
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2E09#FFFFFF#000000##FFFFFF
##0C2E091.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2905
Deuteranopia (green-blind)
#2B260C
Tritanopia (blue-blind)
#072C26
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2e09;
/* rgb */ color: rgb(12, 46, 9);
/* oklch */ color: oklch(26.7% 0.073 142.0);
Tailwind
colors: {
  custom: {
    50: '#4f674b',
    500: '#0c2e09',
    950: '#000000',
  },
}
SCSS
$custom: #0c2e09;
$custom-light: #4f674b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2e09",
  "rgb": {
    "r": 12,
    "g": 46,
    "b": 9
  },
  "hsl": {
    "h": 115.135,
    "s": 67.273,
    "l": 10.784
  },
  "oklch": {
    "l": 0.26673,
    "c": 0.07329,
    "h": 142
  },
  "luminance": 0.02052
}

Semantic roles & 50–950 ramp

primary
#0C2E09
secondary
#66276C
accent
#3EEADC
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C2E09

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

Preview Lab → · Contrast checker → · Palette generator →

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