#0C491E#0C491E

#0C491E is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.7% C 0.093 H 148.5°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#0C491E
RGBrgb(12, 73, 30)
HSLhsl(138, 72%, 17%)
HSVhsv(138, 84%, 29%)
CMYKcmyk(83.6%, 0%, 58.9%, 71.4%)
CIE-LABlab(26.55, -29.58, 20.29)
CIE-LCHlch(26.55, 35.87, 145.55°)
OKLaboklab(35.69% -0.0795 0.0488)
OKLCHoklch(35.69% 0.093 148.5)
XYZxyz(2.7683, 4.9367, 2.0350)
Luminance0.0494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C491E #490C37
analogous
#19490C #0C491E #0C493D
triadic
#0C491E #1E0C49 #491E0C
tetradic
#0C491E #0C1949 #490C37 #493D0C
square
#0C491E #0C1949 #490C37 #493D0C
split-complementary
#0C491E #3D0C49 #490C19
monochromatic
#041A0B #041A0B #0C491E #157E34 #1DB249

Accessibility & contrast

On white

10.57
#0C491E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#0C491E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C491E
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C491E#FFFFFF#000000##FFFFFF
##0C491E1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A421A
Deuteranopia (green-blind)
#433D21
Tritanopia (blue-blind)
#00473F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0c491e;
/* rgb */ color: rgb(12, 73, 30);
/* oklch */ color: oklch(35.7% 0.093 148.5);
Tailwind
colors: {
  custom: {
    50: '#567c5b',
    500: '#0c491e',
    950: '#000000',
  },
}
SCSS
$custom: #0c491e;
$custom-light: #567c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c491e",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 30
  },
  "hsl": {
    "h": 137.705,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35694,
    "c": 0.09333,
    "h": 148.5
  },
  "luminance": 0.04937
}

Semantic roles & 50–950 ramp

primary
#0C491E
secondary
#852C6B
accent
#39B9EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0C491E

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

Preview Lab → · Contrast checker → · Palette generator →

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