#0C481D#0C481D

#0C481D is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.4% C 0.093 H 148.2°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#0C481D
RGBrgb(12, 72, 29)
HSLhsl(137, 71%, 16%)
HSVhsv(137, 83%, 28%)
CMYKcmyk(83.3%, 0%, 59.7%, 71.8%)
CIE-LABlab(26.16, -29.35, 20.39)
CIE-LCHlch(26.16, 35.73, 145.21°)
OKLaboklab(35.37% -0.0789 0.049)
OKLCHoklch(35.37% 0.093 148.2)
XYZxyz(2.6905, 4.8013, 1.9471)
Luminance0.0480 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C481D #480C37
analogous
#19480C #0C481D #0C483B
triadic
#0C481D #1D0C48 #481D0C
tetradic
#0C481D #0C1948 #480C37 #483B0C
square
#0C481D #0C1948 #480C37 #483B0C
split-complementary
#0C481D #3B0C48 #480C19
monochromatic
#041A0B #041A0B #0C481D #157C32 #1DB147

Accessibility & contrast

On white

10.71
#0C481D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C481D
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C481D#FFFFFF#000000##FFFFFF
##0C481D1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c481d;
/* rgb */ color: rgb(12, 72, 29);
/* oklch */ color: oklch(35.4% 0.093 148.2);
Tailwind
colors: {
  custom: {
    50: '#567c5a',
    500: '#0c481d',
    950: '#000000',
  },
}
SCSS
$custom: #0c481d;
$custom-light: #567c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c481d",
  "rgb": {
    "r": 12,
    "g": 72,
    "b": 29
  },
  "hsl": {
    "h": 137,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35365,
    "c": 0.09288,
    "h": 148.2
  },
  "luminance": 0.04802
}

Semantic roles & 50–950 ramp

primary
#0C481D
secondary
#842C6B
accent
#3ABBEE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0C481D

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

Preview Lab → · Contrast checker → · Palette generator →

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