#0C500F#0C500F

#0C500F is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.7% C 0.116 H 143.3°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#0C500F
RGBrgb(12, 80, 15)
HSLhsl(123, 74%, 18%)
HSVhsv(123, 85%, 31%)
CMYKcmyk(85%, 0%, 81.3%, 68.6%)
CIE-LABlab(29.03, -34.23, 30.59)
CIE-LCHlch(29.03, 45.91, 138.22°)
OKLaboklab(37.7% -0.0928 0.0691)
OKLCHoklch(37.7% 0.116 143.3)
XYZxyz(3.1063, 5.8496, 1.4172)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C500F #500C4D
analogous
#2B500C #0C500F #0C5031
triadic
#0C500F #0F0C50 #500F0C
tetradic
#0C500F #0C2B50 #500C4D #50310C
square
#0C500F #0C2B50 #500C4D #50310C
split-complementary
#0C500F #310C50 #500C2B
monochromatic
#041B05 #041B05 #0C500F #148519 #1CBA23

Accessibility & contrast

On white

9.68
#0C500F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#0C500F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C500F
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C500F#FFFFFF#000000##FFFFFF
##0C500F1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524804
Deuteranopia (green-blind)
#4A4216
Tritanopia (blue-blind)
#004D43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0c500f;
/* rgb */ color: rgb(12, 80, 15);
/* oklch */ color: oklch(37.7% 0.116 143.3);
Tailwind
colors: {
  custom: {
    50: '#598252',
    500: '#0c500f',
    950: '#000000',
  },
}
SCSS
$custom: #0c500f;
$custom-light: #598252;
$custom-dark: #000000;
JSON
{
  "hex": "#0c500f",
  "rgb": {
    "r": 12,
    "g": 80,
    "b": 15
  },
  "hsl": {
    "h": 122.647,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37697,
    "c": 0.11569,
    "h": 143.3
  },
  "luminance": 0.0585
}

Semantic roles & 50–950 ramp

primary
#0C500F
secondary
#8B2C87
accent
#37E8F1
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0C500F

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

Preview Lab → · Contrast checker → · Palette generator →

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