#0C450F#0C450F

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

Color values

HEX#0C450F
RGBrgb(12, 69, 15)
HSLhsl(123, 70%, 16%)
HSVhsv(123, 83%, 27%)
CMYKcmyk(82.6%, 0%, 78.3%, 72.9%)
CIE-LABlab(24.85, -30.11, 26.30)
CIE-LCHlch(24.85, 39.98, 138.86°)
OKLaboklab(34.23% -0.0816 0.0602)
OKLCHoklch(34.23% 0.101 143.6)
XYZxyz(2.3658, 4.3686, 1.1704)
Luminance0.0437 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C450F #450C42
analogous
#25450C #0C450F #0C452B
triadic
#0C450F #0F0C45 #450F0C
tetradic
#0C450F #0C2545 #450C42 #452B0C
square
#0C450F #0C2545 #450C42 #452B0C
split-complementary
#0C450F #2B0C45 #450C25
monochromatic
#051A06 #051A06 #0C450F #15791A #1EAD26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C450F#FFFFFF#000000##FFFFFF
##0C450F1.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)
#473E07
Deuteranopia (green-blind)
#403914
Tritanopia (blue-blind)
#00433A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0c450f;
/* rgb */ color: rgb(12, 69, 15);
/* oklch */ color: oklch(34.2% 0.101 143.6);
Tailwind
colors: {
  custom: {
    50: '#567951',
    500: '#0c450f',
    950: '#000000',
  },
}
SCSS
$custom: #0c450f;
$custom-light: #567951;
$custom-dark: #000000;
JSON
{
  "hex": "#0c450f",
  "rgb": {
    "r": 12,
    "g": 69,
    "b": 15
  },
  "hsl": {
    "h": 123.158,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34228,
    "c": 0.10136,
    "h": 143.6
  },
  "luminance": 0.04369
}

Semantic roles & 50–950 ramp

primary
#0C450F
secondary
#812C7C
accent
#3BE4ED
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #0C450F

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

Preview Lab → · Contrast checker → · Palette generator →

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