#0C481A#0C481A

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

Color values

HEX#0C481A
RGBrgb(12, 72, 26)
HSLhsl(134, 71%, 16%)
HSVhsv(134, 83%, 28%)
CMYKcmyk(83.3%, 0%, 63.9%, 71.8%)
CIE-LABlab(26.12, -29.84, 22.04)
CIE-LCHlch(26.12, 37.09, 143.55°)
OKLaboklab(35.32% -0.0803 0.0524)
OKLCHoklch(35.32% 0.096 146.9)
XYZxyz(2.6552, 4.7872, 1.7612)
Luminance0.0479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C481A #480C3A
analogous
#1C480C #0C481A #0C4838
triadic
#0C481A #1A0C48 #481A0C
tetradic
#0C481A #0C1C48 #480C3A #48380C
square
#0C481A #0C1C48 #480C3A #48380C
split-complementary
#0C481A #380C48 #480C1C
monochromatic
#041A09 #041A09 #0C481A #157C2D #1DB140

Accessibility & contrast

On white

10.73
#0C481A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C481A
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C481A#FFFFFF#000000##FFFFFF
##0C481A1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c481a;
/* rgb */ color: rgb(12, 72, 26);
/* oklch */ color: oklch(35.3% 0.096 146.9);
Tailwind
colors: {
  custom: {
    50: '#567c58',
    500: '#0c481a',
    950: '#000000',
  },
}
SCSS
$custom: #0c481a;
$custom-light: #567c58;
$custom-dark: #000000;
JSON
{
  "hex": "#0c481a",
  "rgb": {
    "r": 12,
    "g": 72,
    "b": 26
  },
  "hsl": {
    "h": 134,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35317,
    "c": 0.09588,
    "h": 146.9
  },
  "luminance": 0.04787
}

Semantic roles & 50–950 ramp

primary
#0C481A
secondary
#842C6F
accent
#3AC4EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0C481A

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

Preview Lab → · Contrast checker → · Palette generator →

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