#0C4121#0C4121

#0C4121 is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.2% C 0.078 H 152.2°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#0C4121
RGBrgb(12, 65, 33)
HSLhsl(144, 69%, 15%)
HSVhsv(144, 82%, 25%)
CMYKcmyk(81.5%, 0%, 49.2%, 74.5%)
CIE-LABlab(23.57, -25.58, 14.73)
CIE-LCHlch(23.57, 29.52, 150.06°)
OKLaboklab(33.24% -0.0689 0.0364)
OKLCHoklch(33.24% 0.078 152.2)
XYZxyz(2.3162, 3.9683, 2.0824)
Luminance0.0397 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4121 #410C2C
analogous
#11410C #0C4121 #0C413C
triadic
#0C4121 #210C41 #41210C
tetradic
#0C4121 #0C1141 #410C2C #413C0C
square
#0C4121 #0C1141 #410C2C #413C0C
split-complementary
#0C4121 #3C0C41 #410C11
monochromatic
#051A0D #051A0D #0C4121 #16753B #1FA855

Accessibility & contrast

On white

11.71
#0C4121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#0C4121 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4121
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4121#FFFFFF#000000##FFFFFF
##0C41211.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413B1F
Deuteranopia (green-blind)
#3B3623
Tritanopia (blue-blind)
#004039
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0c4121;
/* rgb */ color: rgb(12, 65, 33);
/* oklch */ color: oklch(33.2% 0.078 152.2);
Tailwind
colors: {
  custom: {
    50: '#54765c',
    500: '#0c4121',
    950: '#000000',
  },
}
SCSS
$custom: #0c4121;
$custom-light: #54765c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4121",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 33
  },
  "hsl": {
    "h": 143.774,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33241,
    "c": 0.07791,
    "h": 152.2
  },
  "luminance": 0.03969
}

Semantic roles & 50–950 ramp

primary
#0C4121
secondary
#7D2C5D
accent
#3CA6EC
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0C4121

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

Preview Lab → · Contrast checker → · Palette generator →

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