#0C490F#0C490F

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

Color values

HEX#0C490F
RGBrgb(12, 73, 15)
HSLhsl(123, 72%, 17%)
HSVhsv(123, 84%, 29%)
CMYKcmyk(83.6%, 0%, 79.5%, 71.4%)
CIE-LABlab(26.38, -31.64, 27.89)
CIE-LCHlch(26.38, 42.18, 138.60°)
OKLaboklab(35.5% -0.0857 0.0635)
OKLCHoklch(35.5% 0.107 143.5)
XYZxyz(2.6202, 4.8774, 1.2552)
Luminance0.0488 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C490F #490C46
analogous
#28490C #0C490F #0C492E
triadic
#0C490F #0F0C49 #490F0C
tetradic
#0C490F #0C2849 #490C46 #492E0C
square
#0C490F #0C2849 #490C46 #492E0C
split-complementary
#0C490F #2E0C49 #490C28
monochromatic
#041A05 #041A05 #0C490F #157E1A #1DB225

Accessibility & contrast

On white

10.63
#0C490F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#0C490F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C490F
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C490F#FFFFFF#000000##FFFFFF
##0C490F1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4106
Deuteranopia (green-blind)
#443D15
Tritanopia (blue-blind)
#00473E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0c490f;
/* rgb */ color: rgb(12, 73, 15);
/* oklch */ color: oklch(35.5% 0.107 143.5);
Tailwind
colors: {
  custom: {
    50: '#577c51',
    500: '#0c490f',
    950: '#000000',
  },
}
SCSS
$custom: #0c490f;
$custom-light: #577c51;
$custom-dark: #000000;
JSON
{
  "hex": "#0c490f",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 15
  },
  "hsl": {
    "h": 122.951,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35498,
    "c": 0.10668,
    "h": 143.5
  },
  "luminance": 0.04878
}

Semantic roles & 50–950 ramp

primary
#0C490F
secondary
#852C80
accent
#39E6EE
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #0C490F

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

Preview Lab → · Contrast checker → · Palette generator →

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