#0C2902#0C2902

#0C2902 is a very dark, moderate green. Relative luminance 0.017; OKLCH L 24.9% C 0.073 H 138.4°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#0C2902
RGBrgb(12, 41, 2)
HSLhsl(105, 91%, 8%)
HSVhsv(105, 95%, 16%)
CMYKcmyk(70.7%, 0%, 95.1%, 83.9%)
CIE-LABlab(13.64, -19.85, 18.81)
CIE-LCHlch(13.64, 27.35, 136.54°)
OKLaboklab(24.9% -0.0549 0.0488)
OKLCHoklch(24.9% 0.073 138.4)
XYZxyz(0.9555, 1.6683, 0.3291)
Luminance0.0167 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2902 #1F0229
analogous
#1F2902 #0C2902 #02290B
triadic
#0C2902 #020C29 #29020C
tetradic
#0C2902 #021F29 #1F0229 #290B02
square
#0C2902 #021F29 #1F0229 #290B02
split-complementary
#0C2902 #0B0229 #29021F
monochromatic
#091D01 #091D01 #0C2902 #1D6305 #2E9E08

Accessibility & contrast

On white

15.75
#0C2902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0C2902 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2902
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2902#FFFFFF#000000##FFFFFF
##0C29021.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2400
Deuteranopia (green-blind)
#272205
Tritanopia (blue-blind)
#092721
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0c2902;
/* rgb */ color: rgb(12, 41, 2);
/* oklch */ color: oklch(24.9% 0.073 138.4);
Tailwind
colors: {
  custom: {
    50: '#4e6347',
    500: '#0c2902',
    950: '#000000',
  },
}
SCSS
$custom: #0c2902;
$custom-light: #4e6347;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2902",
  "rgb": {
    "r": 12,
    "g": 41,
    "b": 2
  },
  "hsl": {
    "h": 104.615,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.24898,
    "c": 0.07345,
    "h": 138.4
  },
  "luminance": 0.01668
}

Semantic roles & 50–950 ramp

primary
#0C2902
secondary
#58196E
accent
#29FFC8
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020500
muted
#787977

Preview Lab

Preview with #0C2902

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

Preview Lab → · Contrast checker → · Palette generator →

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