#0C4B1B#0C4B1B

#0C4B1B is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.3% C 0.099 H 146.9°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#0C4B1B
RGBrgb(12, 75, 27)
HSLhsl(134, 72%, 17%)
HSVhsv(134, 84%, 29%)
CMYKcmyk(84%, 0%, 64%, 70.6%)
CIE-LABlab(27.27, -30.88, 22.84)
CIE-LCHlch(27.27, 38.41, 143.52°)
OKLaboklab(36.27% -0.0831 0.0542)
OKLCHoklch(36.27% 0.099 146.9)
XYZxyz(2.8653, 5.1891, 1.8873)
Luminance0.0519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4B1B #4B0C3C
analogous
#1C4B0C #0C4B1B #0C4B3B
triadic
#0C4B1B #1B0C4B #4B1B0C
tetradic
#0C4B1B #0C1C4B #4B0C3C #4B3B0C
square
#0C4B1B #0C1C4B #4B0C3C #4B3B0C
split-complementary
#0C4B1B #3B0C4B #4B0C1C
monochromatic
#041A09 #041A09 #0C4B1B #14802E #1DB541

Accessibility & contrast

On white

10.31
#0C4B1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#0C4B1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4B1B
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4B1B#FFFFFF#000000##FFFFFF
##0C4B1B1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4316
Deuteranopia (green-blind)
#453E1F
Tritanopia (blue-blind)
#004940
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0c4b1b;
/* rgb */ color: rgb(12, 75, 27);
/* oklch */ color: oklch(36.3% 0.099 146.9);
Tailwind
colors: {
  custom: {
    50: '#577e59',
    500: '#0c4b1b',
    950: '#000000',
  },
}
SCSS
$custom: #0c4b1b;
$custom-light: #577e59;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4b1b",
  "rgb": {
    "r": 12,
    "g": 75,
    "b": 27
  },
  "hsl": {
    "h": 134.286,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36272,
    "c": 0.09922,
    "h": 146.9
  },
  "luminance": 0.05189
}

Semantic roles & 50–950 ramp

primary
#0C4B1B
secondary
#872C71
accent
#39C4EF
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0C4B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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