#0C4225#0C4225

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

Color values

HEX#0C4225
RGBrgb(12, 66, 37)
HSLhsl(148, 69%, 15%)
HSVhsv(148, 82%, 26%)
CMYKcmyk(81.8%, 0%, 43.9%, 74.1%)
CIE-LABlab(24.02, -25.15, 12.82)
CIE-LCHlch(24.02, 28.23, 153.00°)
OKLaboklab(33.65% -0.0679 0.032)
OKLCHoklch(33.65% 0.075 154.8)
XYZxyz(2.4335, 4.1079, 2.4146)
Luminance0.0411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4225 #420C29
analogous
#0E420C #0C4225 #0C4240
triadic
#0C4225 #250C42 #42250C
tetradic
#0C4225 #0C0E42 #420C29 #42400C
square
#0C4225 #0C0E42 #420C29 #42400C
split-complementary
#0C4225 #400C42 #420C0E
monochromatic
#051A0F #051A0F #0C4225 #157642 #1FAA5F

Accessibility & contrast

On white

11.53
#0C4225 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4225
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4225#FFFFFF#000000##FFFFFF
##0C42251.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C23
Deuteranopia (green-blind)
#3B3727
Tritanopia (blue-blind)
#00413B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0c4225;
/* rgb */ color: rgb(12, 66, 37);
/* oklch */ color: oklch(33.6% 0.075 154.8);
Tailwind
colors: {
  custom: {
    50: '#54775f',
    500: '#0c4225',
    950: '#000000',
  },
}
SCSS
$custom: #0c4225;
$custom-light: #54775f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4225",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 37
  },
  "hsl": {
    "h": 147.778,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33645,
    "c": 0.07505,
    "h": 154.8
  },
  "luminance": 0.04108
}

Semantic roles & 50–950 ramp

primary
#0C4225
secondary
#7E2C58
accent
#3C9AEC
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0C4225

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

Preview Lab → · Contrast checker → · Palette generator →

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