#0C2C03#0C2C03

#0C2C03 is a dark, moderate green. Relative luminance 0.019; OKLCH L 25.9% C 0.077 H 139.3°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#0C2C03
RGBrgb(12, 44, 3)
HSLhsl(107, 87%, 9%)
HSVhsv(107, 93%, 17%)
CMYKcmyk(72.7%, 0%, 93.2%, 82.7%)
CIE-LABlab(14.88, -21.08, 20.02)
CIE-LCHlch(14.88, 29.07, 136.48°)
OKLaboklab(25.92% -0.058 0.0499)
OKLCHoklch(25.92% 0.077 139.3)
XYZxyz(1.0687, 1.8860, 0.3938)
Luminance0.0189 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2C03 #23032C
analogous
#212C03 #0C2C03 #032C0F
triadic
#0C2C03 #030C2C #2C030C
tetradic
#0C2C03 #03212C #23032C #2C0F03
square
#0C2C03 #03212C #23032C #2C0F03
split-complementary
#0C2C03 #0F032C #2C0321
monochromatic
#081D02 #081D02 #0C2C03 #1C6507 #2B9F0B

Accessibility & contrast

On white

15.25
#0C2C03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#0C2C03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2C03
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2C03#FFFFFF#000000##FFFFFF
##0C2C031.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2A2406
Tritanopia (blue-blind)
#082A24
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0c2c03;
/* rgb */ color: rgb(12, 44, 3);
/* oklch */ color: oklch(25.9% 0.077 139.3);
Tailwind
colors: {
  custom: {
    50: '#4f6548',
    500: '#0c2c03',
    950: '#000000',
  },
}
SCSS
$custom: #0c2c03;
$custom-light: #4f6548;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2c03",
  "rgb": {
    "r": 12,
    "g": 44,
    "b": 3
  },
  "hsl": {
    "h": 106.829,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25924,
    "c": 0.07657,
    "h": 139.3
  },
  "luminance": 0.01886
}

Semantic roles & 50–950 ramp

primary
#0C2C03
secondary
#5D1B70
accent
#2AFDCF
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #0C2C03

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

Preview Lab → · Contrast checker → · Palette generator →

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