#0C4B10#0C4B10

#0C4B10 is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.1% C 0.109 H 143.6°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#0C4B10
RGBrgb(12, 75, 16)
HSLhsl(124, 72%, 17%)
HSVhsv(124, 84%, 29%)
CMYKcmyk(84%, 0%, 78.7%, 70.6%)
CIE-LABlab(27.15, -32.29, 28.24)
CIE-LCHlch(27.15, 42.90, 138.83°)
OKLaboklab(36.14% -0.0874 0.0644)
OKLCHoklch(36.14% 0.109 143.6)
XYZxyz(2.7610, 5.1474, 1.3381)
Luminance0.0515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4B10 #4B0C47
analogous
#274B0C #0C4B10 #0C4B30
triadic
#0C4B10 #100C4B #4B100C
tetradic
#0C4B10 #0C274B #4B0C47 #4B300C
square
#0C4B10 #0C274B #4B0C47 #4B300C
split-complementary
#0C4B10 #300C4B #4B0C27
monochromatic
#041A06 #041A06 #0C4B10 #14801B #1DB527

Accessibility & contrast

On white

10.35
#0C4B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#0C4B10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4B10
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4B10#FFFFFF#000000##FFFFFF
##0C4B101.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4307
Deuteranopia (green-blind)
#463E16
Tritanopia (blue-blind)
#00493F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0c4b10;
/* rgb */ color: rgb(12, 75, 16);
/* oklch */ color: oklch(36.1% 0.109 143.6);
Tailwind
colors: {
  custom: {
    50: '#587e52',
    500: '#0c4b10',
    950: '#000000',
  },
}
SCSS
$custom: #0c4b10;
$custom-light: #587e52;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4b10",
  "rgb": {
    "r": 12,
    "g": 75,
    "b": 16
  },
  "hsl": {
    "h": 123.81,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36138,
    "c": 0.10858,
    "h": 143.6
  },
  "luminance": 0.05148
}

Semantic roles & 50–950 ramp

primary
#0C4B10
secondary
#872C81
accent
#39E4EF
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0C4B10

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

Preview Lab → · Contrast checker → · Palette generator →

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