#0C4B24#0C4B24

#0C4B24 is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.4% C 0.090 H 151.0°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#0C4B24
RGBrgb(12, 75, 36)
HSLhsl(143, 72%, 17%)
HSVhsv(143, 84%, 29%)
CMYKcmyk(84%, 0%, 52%, 70.6%)
CIE-LABlab(27.40, -29.30, 17.82)
CIE-LCHlch(27.40, 34.29, 148.70°)
OKLaboklab(36.43% -0.0788 0.0436)
OKLCHoklch(36.43% 0.09 151)
XYZxyz(2.9859, 5.2373, 2.5223)
Luminance0.0524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4B24 #4B0C33
analogous
#144B0C #0C4B24 #0C4B44
triadic
#0C4B24 #240C4B #4B240C
tetradic
#0C4B24 #0C144B #4B0C33 #4B440C
square
#0C4B24 #0C144B #4B0C33 #4B440C
split-complementary
#0C4B24 #440C4B #4B0C14
monochromatic
#041A0D #041A0D #0C4B24 #14803D #1DB557

Accessibility & contrast

On white

10.26
#0C4B24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4B24
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4B24#FFFFFF#000000##FFFFFF
##0C4B241.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4b24;
/* rgb */ color: rgb(12, 75, 36);
/* oklch */ color: oklch(36.4% 0.090 151.0);
Tailwind
colors: {
  custom: {
    50: '#577e5f',
    500: '#0c4b24',
    950: '#000000',
  },
}
SCSS
$custom: #0c4b24;
$custom-light: #577e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4b24",
  "rgb": {
    "r": 12,
    "g": 75,
    "b": 36
  },
  "hsl": {
    "h": 142.857,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36426,
    "c": 0.09003,
    "h": 151
  },
  "luminance": 0.05238
}

Semantic roles & 50–950 ramp

primary
#0C4B24
secondary
#872C64
accent
#39AAEF
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0C4B24

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

Preview Lab → · Contrast checker → · Palette generator →

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