#0C3F24#0C3F24

#0C3F24 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.7% C 0.071 H 155.3°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#0C3F24
RGBrgb(12, 63, 36)
HSLhsl(148, 68%, 15%)
HSVhsv(148, 81%, 25%)
CMYKcmyk(81%, 0%, 42.9%, 75.3%)
CIE-LABlab(22.86, -24.00, 11.91)
CIE-LCHlch(22.86, 26.79, 153.61°)
OKLaboklab(32.68% -0.0649 0.0298)
OKLCHoklch(32.68% 0.071 155.3)
XYZxyz(2.2474, 3.7603, 2.2761)
Luminance0.0376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3F24 #3F0C27
analogous
#0E3F0C #0C3F24 #0C3F3E
triadic
#0C3F24 #240C3F #3F240C
tetradic
#0C3F24 #0C0E3F #3F0C27 #3F3E0C
square
#0C3F24 #0C0E3F #3F0C27 #3F3E0C
split-complementary
#0C3F24 #3E0C3F #3F0C0E
monochromatic
#051A0F #051A0F #0C3F24 #167241 #20A65F

Accessibility & contrast

On white

11.98
#0C3F24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#0C3F24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3F24
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3F24#FFFFFF#000000##FFFFFF
##0C3F241.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3922
Deuteranopia (green-blind)
#383526
Tritanopia (blue-blind)
#003E38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0c3f24;
/* rgb */ color: rgb(12, 63, 36);
/* oklch */ color: oklch(32.7% 0.071 155.3);
Tailwind
colors: {
  custom: {
    50: '#53745f',
    500: '#0c3f24',
    950: '#000000',
  },
}
SCSS
$custom: #0c3f24;
$custom-light: #53745f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3f24",
  "rgb": {
    "r": 12,
    "g": 63,
    "b": 36
  },
  "hsl": {
    "h": 148.235,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.3268,
    "c": 0.07138,
    "h": 155.3
  },
  "luminance": 0.03761
}

Semantic roles & 50–950 ramp

primary
#0C3F24
secondary
#7B2C56
accent
#3D99EB
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0C3F24

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

Preview Lab → · Contrast checker → · Palette generator →

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