#0C4B22#0C4B22

#0C4B22 is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.4% C 0.092 H 150.0°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#0C4B22
RGBrgb(12, 75, 34)
HSLhsl(141, 72%, 17%)
HSVhsv(141, 84%, 29%)
CMYKcmyk(84%, 0%, 54.7%, 70.6%)
CIE-LABlab(27.37, -29.69, 18.96)
CIE-LCHlch(27.37, 35.23, 147.43°)
OKLaboklab(36.39% -0.0798 0.0461)
OKLCHoklch(36.39% 0.092 150)
XYZxyz(2.9562, 5.2255, 2.3659)
Luminance0.0523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4B22 #4B0C35
analogous
#164B0C #0C4B22 #0C4B42
triadic
#0C4B22 #220C4B #4B220C
tetradic
#0C4B22 #0C164B #4B0C35 #4B420C
square
#0C4B22 #0C164B #4B0C35 #4B420C
split-complementary
#0C4B22 #420C4B #4B0C16
monochromatic
#041A0C #041A0C #0C4B22 #14803A #1DB552

Accessibility & contrast

On white

10.27
#0C4B22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#0C4B22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4B22
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4B22#FFFFFF#000000##FFFFFF
##0C4B221.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C441F
Deuteranopia (green-blind)
#443F25
Tritanopia (blue-blind)
#004A41
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0c4b22;
/* rgb */ color: rgb(12, 75, 34);
/* oklch */ color: oklch(36.4% 0.092 150.0);
Tailwind
colors: {
  custom: {
    50: '#577e5e',
    500: '#0c4b22',
    950: '#000000',
  },
}
SCSS
$custom: #0c4b22;
$custom-light: #577e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4b22",
  "rgb": {
    "r": 12,
    "g": 75,
    "b": 34
  },
  "hsl": {
    "h": 140.952,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36388,
    "c": 0.09214,
    "h": 150
  },
  "luminance": 0.05226
}

Semantic roles & 50–950 ramp

primary
#0C4B22
secondary
#872C67
accent
#39AFEF
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0C4B22

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

Preview Lab → · Contrast checker → · Palette generator →

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