#0C2A07#0C2A07

#0C2A07 is a dark, moderate green. Relative luminance 0.017; OKLCH L 25.3% C 0.069 H 140.9°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#0C2A07
RGBrgb(12, 42, 7)
HSLhsl(111, 71%, 10%)
HSVhsv(111, 83%, 16%)
CMYKcmyk(71.4%, 0%, 83.3%, 83.5%)
CIE-LABlab(14.11, -19.58, 17.39)
CIE-LCHlch(14.11, 26.19, 138.39°)
OKLaboklab(25.31% -0.0536 0.0436)
OKLCHoklch(25.31% 0.069 140.9)
XYZxyz(1.0179, 1.7493, 0.4850)
Luminance0.0175 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2A07 #25072A
analogous
#1E2A07 #0C2A07 #072A14
triadic
#0C2A07 #070C2A #2A070C
tetradic
#0C2A07 #071E2A #25072A #2A1407
square
#0C2A07 #071E2A #25072A #2A1407
split-complementary
#0C2A07 #14072A #2A071E
monochromatic
#071A04 #071A04 #0C2A07 #1B5E10 #2A9318

Accessibility & contrast

On white

15.56
#0C2A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2A07
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2A07#FFFFFF#000000##FFFFFF
##0C2A071.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2504
Deuteranopia (green-blind)
#28230A
Tritanopia (blue-blind)
#082823
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0c2a07;
/* rgb */ color: rgb(12, 42, 7);
/* oklch */ color: oklch(25.3% 0.069 140.9);
Tailwind
colors: {
  custom: {
    50: '#4e644a',
    500: '#0c2a07',
    950: '#000000',
  },
}
SCSS
$custom: #0c2a07;
$custom-light: #4e644a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2a07",
  "rgb": {
    "r": 12,
    "g": 42,
    "b": 7
  },
  "hsl": {
    "h": 111.429,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.25308,
    "c": 0.06909,
    "h": 140.9
  },
  "luminance": 0.01749
}

Semantic roles & 50–950 ramp

primary
#0C2A07
secondary
#60236A
accent
#3AEED4
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020501
muted
#787A77

Preview Lab

Preview with #0C2A07

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

Preview Lab → · Contrast checker → · Palette generator →

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