#0C481B#0C481B

#0C481B is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.3% C 0.095 H 147.3°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#0C481B
RGBrgb(12, 72, 27)
HSLhsl(135, 71%, 16%)
HSVhsv(135, 83%, 28%)
CMYKcmyk(83.3%, 0%, 62.5%, 71.8%)
CIE-LABlab(26.13, -29.68, 21.50)
CIE-LCHlch(26.13, 36.64, 144.08°)
OKLaboklab(35.33% -0.0799 0.0513)
OKLCHoklch(35.33% 0.095 147.3)
XYZxyz(2.6666, 4.7917, 1.8211)
Luminance0.0479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C481B #480C39
analogous
#1B480C #0C481B #0C4839
triadic
#0C481B #1B0C48 #481B0C
tetradic
#0C481B #0C1B48 #480C39 #48390C
square
#0C481B #0C1B48 #480C39 #48390C
split-complementary
#0C481B #390C48 #480C1B
monochromatic
#041A0A #041A0A #0C481B #157C2F #1DB142

Accessibility & contrast

On white

10.72
#0C481B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#0C481B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C481B
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C481B#FFFFFF#000000##FFFFFF
##0C481B1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494117
Deuteranopia (green-blind)
#423C1F
Tritanopia (blue-blind)
#00463E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0c481b;
/* rgb */ color: rgb(12, 72, 27);
/* oklch */ color: oklch(35.3% 0.095 147.3);
Tailwind
colors: {
  custom: {
    50: '#567c59',
    500: '#0c481b',
    950: '#000000',
  },
}
SCSS
$custom: #0c481b;
$custom-light: #567c59;
$custom-dark: #000000;
JSON
{
  "hex": "#0c481b",
  "rgb": {
    "r": 12,
    "g": 72,
    "b": 27
  },
  "hsl": {
    "h": 135,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35332,
    "c": 0.0949,
    "h": 147.3
  },
  "luminance": 0.04792
}

Semantic roles & 50–950 ramp

primary
#0C481B
secondary
#842C6E
accent
#3AC1EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0C481B

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

Preview Lab → · Contrast checker → · Palette generator →

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