#0C4B19#0C4B19

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

Color values

HEX#0C4B19
RGBrgb(12, 75, 25)
HSLhsl(132, 72%, 17%)
HSVhsv(132, 84%, 29%)
CMYKcmyk(84%, 0%, 66.7%, 70.6%)
CIE-LABlab(27.24, -31.18, 23.89)
CIE-LCHlch(27.24, 39.28, 142.53°)
OKLaboklab(36.24% -0.084 0.0563)
OKLCHoklch(36.24% 0.101 146.2)
XYZxyz(2.8430, 5.1802, 1.7696)
Luminance0.0518 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4B19 #4B0C3E
analogous
#1F4B0C #0C4B19 #0C4B39
triadic
#0C4B19 #190C4B #4B190C
tetradic
#0C4B19 #0C1F4B #4B0C3E #4B390C
square
#0C4B19 #0C1F4B #4B0C3E #4B390C
split-complementary
#0C4B19 #390C4B #4B0C1F
monochromatic
#041A09 #041A09 #0C4B19 #14802B #1DB53C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C4B19#FFFFFF#000000##FFFFFF
##0C4B191.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)
#4C4314
Deuteranopia (green-blind)
#453E1D
Tritanopia (blue-blind)
#004940
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0c4b19;
/* rgb */ color: rgb(12, 75, 25);
/* oklch */ color: oklch(36.2% 0.101 146.2);
Tailwind
colors: {
  custom: {
    50: '#577e58',
    500: '#0c4b19',
    950: '#000000',
  },
}
SCSS
$custom: #0c4b19;
$custom-light: #577e58;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4b19",
  "rgb": {
    "r": 12,
    "g": 75,
    "b": 25
  },
  "hsl": {
    "h": 132.381,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36243,
    "c": 0.10111,
    "h": 146.2
  },
  "luminance": 0.05181
}

Semantic roles & 50–950 ramp

primary
#0C4B19
secondary
#872C74
accent
#39C9EF
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0C4B19

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

Preview Lab → · Contrast checker → · Palette generator →

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