#0C490C#0C490C

#0C490C is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.5% C 0.109 H 142.9°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#0C490C
RGBrgb(12, 73, 12)
HSLhsl(120, 72%, 17%)
HSVhsv(120, 84%, 29%)
CMYKcmyk(83.6%, 0%, 83.6%, 71.4%)
CIE-LABlab(26.36, -31.92, 29.15)
CIE-LCHlch(26.36, 43.23, 137.60°)
OKLaboklab(35.47% -0.0867 0.0657)
OKLCHoklch(35.47% 0.109 142.9)
XYZxyz(2.6004, 4.8695, 1.1506)
Luminance0.0487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C490C #490C49
analogous
#2B490C #0C490C #0C492B
triadic
#0C490C #0C0C49 #490C0C
tetradic
#0C490C #0C2B49 #490C49 #492B0C
square
#0C490C #0C2B49 #490C49 #492B0C
split-complementary
#0C490C #2B0C49 #490C2B
monochromatic
#041A04 #041A04 #0C490C #157E15 #1DB21D

Accessibility & contrast

On white

10.64
#0C490C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#0C490C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C490C
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C490C#FFFFFF#000000##FFFFFF
##0C490C1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4102
Deuteranopia (green-blind)
#443D13
Tritanopia (blue-blind)
#00473D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0c490c;
/* rgb */ color: rgb(12, 73, 12);
/* oklch */ color: oklch(35.5% 0.109 142.9);
Tailwind
colors: {
  custom: {
    50: '#587c50',
    500: '#0c490c',
    950: '#000000',
  },
}
SCSS
$custom: #0c490c;
$custom-light: #587c50;
$custom-dark: #000000;
JSON
{
  "hex": "#0c490c",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 12
  },
  "hsl": {
    "h": 120,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35471,
    "c": 0.10872,
    "h": 142.9
  },
  "luminance": 0.0487
}

Semantic roles & 50–950 ramp

primary
#0C490C
secondary
#852C85
accent
#39EEEE
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #0C490C

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

Preview Lab → · Contrast checker → · Palette generator →

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