#0C4223#0C4223

#0C4223 is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.6% C 0.077 H 153.2°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#0C4223
RGBrgb(12, 66, 35)
HSLhsl(146, 69%, 15%)
HSVhsv(146, 82%, 26%)
CMYKcmyk(81.8%, 0%, 47%, 74.1%)
CIE-LABlab(23.99, -25.60, 14.03)
CIE-LCHlch(23.99, 29.19, 151.28°)
OKLaboklab(33.6% -0.069 0.0348)
OKLCHoklch(33.6% 0.077 153.2)
XYZxyz(2.4030, 4.0957, 2.2537)
Luminance0.0410 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4223 #420C2B
analogous
#10420C #0C4223 #0C423E
triadic
#0C4223 #230C42 #42230C
tetradic
#0C4223 #0C1042 #420C2B #423E0C
square
#0C4223 #0C1042 #420C2B #423E0C
split-complementary
#0C4223 #3E0C42 #420C10
monochromatic
#051A0E #051A0E #0C4223 #15763E #1FAA5A

Accessibility & contrast

On white

11.54
#0C4223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#0C4223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4223
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4223#FFFFFF#000000##FFFFFF
##0C42231.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C21
Deuteranopia (green-blind)
#3B3725
Tritanopia (blue-blind)
#00413A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0c4223;
/* rgb */ color: rgb(12, 66, 35);
/* oklch */ color: oklch(33.6% 0.077 153.2);
Tailwind
colors: {
  custom: {
    50: '#54775e',
    500: '#0c4223',
    950: '#000000',
  },
}
SCSS
$custom: #0c4223;
$custom-light: #54775e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4223",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 35
  },
  "hsl": {
    "h": 145.556,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33599,
    "c": 0.07726,
    "h": 153.2
  },
  "luminance": 0.04096
}

Semantic roles & 50–950 ramp

primary
#0C4223
secondary
#7E2C5B
accent
#3CA1EC
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0C4223

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

Preview Lab → · Contrast checker → · Palette generator →

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