#0C450E#0C450E

#0C450E is a dark, moderate green. Relative luminance 0.044; OKLCH L 34.2% C 0.102 H 143.3°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#0C450E
RGBrgb(12, 69, 14)
HSLhsl(122, 70%, 16%)
HSVhsv(122, 83%, 27%)
CMYKcmyk(82.6%, 0%, 79.7%, 72.9%)
CIE-LABlab(24.85, -30.21, 26.75)
CIE-LCHlch(24.85, 40.35, 138.48°)
OKLaboklab(34.22% -0.0819 0.061)
OKLCHoklch(34.22% 0.102 143.3)
XYZxyz(2.3589, 4.3658, 1.1338)
Luminance0.0437 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C450E #450C43
analogous
#26450C #0C450E #0C452A
triadic
#0C450E #0E0C45 #450E0C
tetradic
#0C450E #0C2645 #450C43 #452A0C
square
#0C450E #0C2645 #450C43 #452A0C
split-complementary
#0C450E #2A0C45 #450C26
monochromatic
#051A05 #051A05 #0C450E #157919 #1EAD23

Accessibility & contrast

On white

11.21
#0C450E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#0C450E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C450E
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C450E#FFFFFF#000000##FFFFFF
##0C450E1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E06
Deuteranopia (green-blind)
#403914
Tritanopia (blue-blind)
#00433A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0c450e;
/* rgb */ color: rgb(12, 69, 14);
/* oklch */ color: oklch(34.2% 0.102 143.3);
Tailwind
colors: {
  custom: {
    50: '#567950',
    500: '#0c450e',
    950: '#000000',
  },
}
SCSS
$custom: #0c450e;
$custom-light: #567950;
$custom-dark: #000000;
JSON
{
  "hex": "#0c450e",
  "rgb": {
    "r": 12,
    "g": 69,
    "b": 14
  },
  "hsl": {
    "h": 122.105,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34218,
    "c": 0.1021,
    "h": 143.3
  },
  "luminance": 0.04366
}

Semantic roles & 50–950 ramp

primary
#0C450E
secondary
#812C7E
accent
#3BE7ED
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #0C450E

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

Preview Lab → · Contrast checker → · Palette generator →

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