#0C4B27#0C4B27

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

Color values

HEX#0C4B27
RGBrgb(12, 75, 39)
HSLhsl(146, 72%, 17%)
HSVhsv(146, 84%, 29%)
CMYKcmyk(84%, 0%, 48%, 70.6%)
CIE-LABlab(27.45, -28.70, 16.07)
CIE-LCHlch(27.45, 32.89, 150.75°)
OKLaboklab(36.49% -0.0772 0.0397)
OKLCHoklch(36.49% 0.087 152.8)
XYZxyz(3.0336, 5.2564, 2.7738)
Luminance0.0526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4B27 #4B0C30
analogous
#114B0C #0C4B27 #0C4B47
triadic
#0C4B27 #270C4B #4B270C
tetradic
#0C4B27 #0C114B #4B0C30 #4B470C
square
#0C4B27 #0C114B #4B0C30 #4B470C
split-complementary
#0C4B27 #470C4B #4B0C11
monochromatic
#041A0E #041A0E #0C4B27 #148042 #1DB55E

Accessibility & contrast

On white

10.24
#0C4B27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4B27
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4B27#FFFFFF#000000##FFFFFF
##0C4B271.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4b27;
/* rgb */ color: rgb(12, 75, 39);
/* oklch */ color: oklch(36.5% 0.087 152.8);
Tailwind
colors: {
  custom: {
    50: '#577e61',
    500: '#0c4b27',
    950: '#000000',
  },
}
SCSS
$custom: #0c4b27;
$custom-light: #577e61;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4b27",
  "rgb": {
    "r": 12,
    "g": 75,
    "b": 39
  },
  "hsl": {
    "h": 145.714,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36487,
    "c": 0.08681,
    "h": 152.8
  },
  "luminance": 0.05257
}

Semantic roles & 50–950 ramp

primary
#0C4B27
secondary
#872C60
accent
#39A1EF
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #0C4B27

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

Preview Lab → · Contrast checker → · Palette generator →

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