#0C451E#0C451E

#0C451E is a dark, moderate green. Relative luminance 0.044; OKLCH L 34.4% C 0.087 H 149.3°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#0C451E
RGBrgb(12, 69, 30)
HSLhsl(139, 70%, 16%)
HSVhsv(139, 83%, 27%)
CMYKcmyk(82.6%, 0%, 56.5%, 72.9%)
CIE-LABlab(25.04, -27.92, 18.43)
CIE-LCHlch(25.04, 33.45, 146.57°)
OKLaboklab(34.44% -0.0751 0.0447)
OKLCHoklch(34.44% 0.087 149.3)
XYZxyz(2.5139, 4.4279, 1.9502)
Luminance0.0443 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C451E #450C33
analogous
#16450C #0C451E #0C453A
triadic
#0C451E #1E0C45 #451E0C
tetradic
#0C451E #0C1645 #450C33 #453A0C
square
#0C451E #0C1645 #450C33 #453A0C
split-complementary
#0C451E #3A0C45 #450C16
monochromatic
#051A0B #051A0B #0C451E #157935 #1EAD4B

Accessibility & contrast

On white

11.14
#0C451E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#0C451E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C451E
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C451E#FFFFFF#000000##FFFFFF
##0C451E1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E1B
Deuteranopia (green-blind)
#3F3A21
Tritanopia (blue-blind)
#00443C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0c451e;
/* rgb */ color: rgb(12, 69, 30);
/* oklch */ color: oklch(34.4% 0.087 149.3);
Tailwind
colors: {
  custom: {
    50: '#55795a',
    500: '#0c451e',
    950: '#000000',
  },
}
SCSS
$custom: #0c451e;
$custom-light: #55795a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c451e",
  "rgb": {
    "r": 12,
    "g": 69,
    "b": 30
  },
  "hsl": {
    "h": 138.947,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.3444,
    "c": 0.08736,
    "h": 149.3
  },
  "luminance": 0.04428
}

Semantic roles & 50–950 ramp

primary
#0C451E
secondary
#812C66
accent
#3BB5ED
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0C451E

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

Preview Lab → · Contrast checker → · Palette generator →

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