#0C4F10#0C4F10

#0C4F10 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.4% C 0.114 H 143.5°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#0C4F10
RGBrgb(12, 79, 16)
HSLhsl(124, 74%, 18%)
HSVhsv(124, 85%, 31%)
CMYKcmyk(84.8%, 0%, 79.7%, 69%)
CIE-LABlab(28.66, -33.78, 29.80)
CIE-LCHlch(28.66, 45.04, 138.58°)
OKLaboklab(37.39% -0.0915 0.0676)
OKLCHoklch(37.39% 0.114 143.5)
XYZxyz(3.0409, 5.7072, 1.4314)
Luminance0.0571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4F10 #4F0C4B
analogous
#294F0C #0C4F10 #0C4F31
triadic
#0C4F10 #100C4F #4F100C
tetradic
#0C4F10 #0C294F #4F0C4B #4F310C
square
#0C4F10 #0C294F #4F0C4B #4F310C
split-complementary
#0C4F10 #310C4F #4F0C29
monochromatic
#041B05 #041B05 #0C4F10 #14841B #1CB926

Accessibility & contrast

On white

9.81
#0C4F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#0C4F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4F10
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4F10#FFFFFF#000000##FFFFFF
##0C4F101.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514706
Deuteranopia (green-blind)
#494217
Tritanopia (blue-blind)
#004D43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0c4f10;
/* rgb */ color: rgb(12, 79, 16);
/* oklch */ color: oklch(37.4% 0.114 143.5);
Tailwind
colors: {
  custom: {
    50: '#598153',
    500: '#0c4f10',
    950: '#000000',
  },
}
SCSS
$custom: #0c4f10;
$custom-light: #598153;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4f10",
  "rgb": {
    "r": 12,
    "g": 79,
    "b": 16
  },
  "hsl": {
    "h": 123.582,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37394,
    "c": 0.11376,
    "h": 143.5
  },
  "luminance": 0.05708
}

Semantic roles & 50–950 ramp

primary
#0C4F10
secondary
#8B2C85
accent
#38E5F0
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0C4F10

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

Preview Lab → · Contrast checker → · Palette generator →

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