#0C4B28#0C4B28

#0C4B28 is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.5% C 0.086 H 153.4°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#0C4B28
RGBrgb(12, 75, 40)
HSLhsl(147, 72%, 17%)
HSVhsv(147, 84%, 29%)
CMYKcmyk(84%, 0%, 46.7%, 70.6%)
CIE-LABlab(27.47, -28.48, 15.48)
CIE-LCHlch(27.47, 32.42, 151.47°)
OKLaboklab(36.51% -0.0767 0.0384)
OKLCHoklch(36.51% 0.086 153.4)
XYZxyz(3.0504, 5.2632, 2.8622)
Luminance0.0526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4B28 #4B0C2F
analogous
#0F4B0C #0C4B28 #0C4B48
triadic
#0C4B28 #280C4B #4B280C
tetradic
#0C4B28 #0C0F4B #4B0C2F #4B480C
square
#0C4B28 #0C0F4B #4B0C2F #4B480C
split-complementary
#0C4B28 #480C4B #4B0C0F
monochromatic
#041A0E #041A0E #0C4B28 #148044 #1DB560

Accessibility & contrast

On white

10.23
#0C4B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#0C4B28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4B28
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4B28#FFFFFF#000000##FFFFFF
##0C4B281.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4425
Deuteranopia (green-blind)
#443F2A
Tritanopia (blue-blind)
#004A42
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0c4b28;
/* rgb */ color: rgb(12, 75, 40);
/* oklch */ color: oklch(36.5% 0.086 153.4);
Tailwind
colors: {
  custom: {
    50: '#577e62',
    500: '#0c4b28',
    950: '#000000',
  },
}
SCSS
$custom: #0c4b28;
$custom-light: #577e62;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4b28",
  "rgb": {
    "r": 12,
    "g": 75,
    "b": 40
  },
  "hsl": {
    "h": 146.667,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36508,
    "c": 0.08573,
    "h": 153.4
  },
  "luminance": 0.05264
}

Semantic roles & 50–950 ramp

primary
#0C4B28
secondary
#872C5E
accent
#399EEF
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#030A05
muted
#787C79

Preview Lab

Preview with #0C4B28

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

Preview Lab → · Contrast checker → · Palette generator →

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