#0C4D23#0C4D23

#0C4D23 is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.0% C 0.094 H 150.0°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#0C4D23
RGBrgb(12, 77, 35)
HSLhsl(141, 73%, 17%)
HSVhsv(141, 84%, 30%)
CMYKcmyk(84.4%, 0%, 54.5%, 69.8%)
CIE-LABlab(28.13, -30.33, 19.33)
CIE-LCHlch(28.13, 35.96, 147.49°)
OKLaboklab(37.03% -0.0815 0.047)
OKLCHoklch(37.03% 0.094 150)
XYZxyz(3.1086, 5.5069, 2.4889)
Luminance0.0551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D23 #4D0C36
analogous
#154D0C #0C4D23 #0C4D44
triadic
#0C4D23 #230C4D #4D230C
tetradic
#0C4D23 #0C154D #4D0C36 #4D440C
square
#0C4D23 #0C154D #4D0C36 #4D440C
split-complementary
#0C4D23 #440C4D #4D0C15
monochromatic
#041A0C #041A0C #0C4D23 #14823B #1DB753

Accessibility & contrast

On white

9.99
#0C4D23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#0C4D23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4D23
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D23#FFFFFF#000000##FFFFFF
##0C4D231.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4620
Deuteranopia (green-blind)
#464026
Tritanopia (blue-blind)
#004B43
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0c4d23;
/* rgb */ color: rgb(12, 77, 35);
/* oklch */ color: oklch(37.0% 0.094 150.0);
Tailwind
colors: {
  custom: {
    50: '#577f5f',
    500: '#0c4d23',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d23;
$custom-light: #577f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d23",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 35
  },
  "hsl": {
    "h": 141.231,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37027,
    "c": 0.09406,
    "h": 150
  },
  "luminance": 0.05507
}

Semantic roles & 50–950 ramp

primary
#0C4D23
secondary
#892C68
accent
#38AFF0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0C4D23

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

Preview Lab → · Contrast checker → · Palette generator →

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