#0C460B#0C460B

#0C460B is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.5% C 0.105 H 142.7°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#0C460B
RGBrgb(12, 70, 11)
HSLhsl(119, 73%, 16%)
HSVhsv(119, 84%, 27%)
CMYKcmyk(82.9%, 0%, 84.3%, 72.5%)
CIE-LABlab(25.21, -30.88, 28.41)
CIE-LCHlch(25.21, 41.96, 137.39°)
OKLaboklab(34.51% -0.0839 0.064)
OKLCHoklch(34.51% 0.105 142.7)
XYZxyz(2.4020, 4.4824, 1.0551)
Luminance0.0448 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C460B #450B46
analogous
#29460B #0C460B #0B4627
triadic
#0C460B #0B0C46 #460B0C
tetradic
#0C460B #0B2946 #450B46 #46270B
square
#0C460B #0B2946 #450B46 #46270B
split-complementary
#0C460B #270B46 #460B29
monochromatic
#051A04 #051A04 #0C460B #157B13 #1EB01C

Accessibility & contrast

On white

11.07
#0C460B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#0C460B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C460B
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C460B#FFFFFF#000000##FFFFFF
##0C460B1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483E02
Deuteranopia (green-blind)
#413A12
Tritanopia (blue-blind)
#00443B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0c460b;
/* rgb */ color: rgb(12, 70, 11);
/* oklch */ color: oklch(34.5% 0.105 142.7);
Tailwind
colors: {
  custom: {
    50: '#577a4f',
    500: '#0c460b',
    950: '#000000',
  },
}
SCSS
$custom: #0c460b;
$custom-light: #577a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c460b",
  "rgb": {
    "r": 12,
    "g": 70,
    "b": 11
  },
  "hsl": {
    "h": 118.983,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.3451,
    "c": 0.10549,
    "h": 142.7
  },
  "luminance": 0.04483
}

Semantic roles & 50–950 ramp

primary
#0C460B
secondary
#812A82
accent
#38F0EC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040902
muted
#797B78

Preview Lab

Preview with #0C460B

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

Preview Lab → · Contrast checker → · Palette generator →

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