#0C4F24#0C4F24

#0C4F24 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.7% C 0.096 H 150.1°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#0C4F24
RGBrgb(12, 79, 36)
HSLhsl(141, 74%, 18%)
HSVhsv(141, 85%, 31%)
CMYKcmyk(84.8%, 0%, 54.4%, 69%)
CIE-LABlab(28.89, -30.96, 19.70)
CIE-LCHlch(28.89, 36.70, 147.54°)
OKLaboklab(37.66% -0.0832 0.0479)
OKLCHoklch(37.66% 0.096 150.1)
XYZxyz(3.2658, 5.7971, 2.6156)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4F24 #4F0C37
analogous
#154F0C #0C4F24 #0C4F45
triadic
#0C4F24 #240C4F #4F240C
tetradic
#0C4F24 #0C154F #4F0C37 #4F450C
square
#0C4F24 #0C154F #4F0C37 #4F450C
split-complementary
#0C4F24 #450C4F #4F0C15
monochromatic
#041B0C #041B0C #0C4F24 #14843C #1CB954

Accessibility & contrast

On white

9.72
#0C4F24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#0C4F24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4F24
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4F24#FFFFFF#000000##FFFFFF
##0C4F241.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504720
Deuteranopia (green-blind)
#484227
Tritanopia (blue-blind)
#004D45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0c4f24;
/* rgb */ color: rgb(12, 79, 36);
/* oklch */ color: oklch(37.7% 0.096 150.1);
Tailwind
colors: {
  custom: {
    50: '#58815f',
    500: '#0c4f24',
    950: '#000000',
  },
}
SCSS
$custom: #0c4f24;
$custom-light: #58815f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4f24",
  "rgb": {
    "r": 12,
    "g": 79,
    "b": 36
  },
  "hsl": {
    "h": 141.493,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37663,
    "c": 0.09596,
    "h": 150.1
  },
  "luminance": 0.05798
}

Semantic roles & 50–950 ramp

primary
#0C4F24
secondary
#8B2C69
accent
#38AEF0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0C4F24

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

Preview Lab → · Contrast checker → · Palette generator →

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