#0C4523#0C4523

#0C4523 is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.5% C 0.082 H 152.2°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#0C4523
RGBrgb(12, 69, 35)
HSLhsl(144, 70%, 16%)
HSVhsv(144, 83%, 27%)
CMYKcmyk(82.6%, 0%, 49.3%, 72.9%)
CIE-LABlab(25.12, -26.93, 15.51)
CIE-LCHlch(25.12, 31.08, 150.07°)
OKLaboklab(34.54% -0.0725 0.0382)
OKLCHoklch(34.54% 0.082 152.2)
XYZxyz(2.5829, 4.4555, 2.3136)
Luminance0.0446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4523 #450C2E
analogous
#11450C #0C4523 #0C453F
triadic
#0C4523 #230C45 #45230C
tetradic
#0C4523 #0C1145 #450C2E #453F0C
square
#0C4523 #0C1145 #450C2E #453F0C
split-complementary
#0C4523 #3F0C45 #450C11
monochromatic
#051A0D #051A0D #0C4523 #15793D #1EAD58

Accessibility & contrast

On white

11.10
#0C4523 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4523
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4523#FFFFFF#000000##FFFFFF
##0C45231.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E20
Deuteranopia (green-blind)
#3E3A25
Tritanopia (blue-blind)
#00443D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0c4523;
/* rgb */ color: rgb(12, 69, 35);
/* oklch */ color: oklch(34.5% 0.082 152.2);
Tailwind
colors: {
  custom: {
    50: '#55795e',
    500: '#0c4523',
    950: '#000000',
  },
}
SCSS
$custom: #0c4523;
$custom-light: #55795e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4523",
  "rgb": {
    "r": 12,
    "g": 69,
    "b": 35
  },
  "hsl": {
    "h": 144.211,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34538,
    "c": 0.08195,
    "h": 152.2
  },
  "luminance": 0.04456
}

Semantic roles & 50–950 ramp

primary
#0C4523
secondary
#812C5F
accent
#3BA5ED
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0C4523

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

Preview Lab → · Contrast checker → · Palette generator →

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