#0C3F23#0C3F23

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

Color values

HEX#0C3F23
RGBrgb(12, 63, 35)
HSLhsl(147, 68%, 15%)
HSVhsv(147, 81%, 25%)
CMYKcmyk(81%, 0%, 44.4%, 75.3%)
CIE-LABlab(22.84, -24.23, 12.52)
CIE-LCHlch(22.84, 27.28, 152.67°)
OKLaboklab(32.66% -0.0654 0.0312)
OKLCHoklch(32.66% 0.072 154.5)
XYZxyz(2.2323, 3.7543, 2.1968)
Luminance0.0376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3F23 #3F0C28
analogous
#0E3F0C #0C3F23 #0C3F3D
triadic
#0C3F23 #230C3F #3F230C
tetradic
#0C3F23 #0C0E3F #3F0C28 #3F3D0C
square
#0C3F23 #0C0E3F #3F0C28 #3F3D0C
split-complementary
#0C3F23 #3D0C3F #3F0C0E
monochromatic
#051A0E #051A0E #0C3F23 #167240 #20A65C

Accessibility & contrast

On white

11.99
#0C3F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C3F23
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3F23#FFFFFF#000000##FFFFFF
##0C3F231.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c3f23;
/* rgb */ color: rgb(12, 63, 35);
/* oklch */ color: oklch(32.7% 0.072 154.5);
Tailwind
colors: {
  custom: {
    50: '#53745e',
    500: '#0c3f23',
    950: '#000000',
  },
}
SCSS
$custom: #0c3f23;
$custom-light: #53745e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3f23",
  "rgb": {
    "r": 12,
    "g": 63,
    "b": 35
  },
  "hsl": {
    "h": 147.059,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32656,
    "c": 0.07249,
    "h": 154.5
  },
  "luminance": 0.03755
}

Semantic roles & 50–950 ramp

primary
#0C3F23
secondary
#7B2C57
accent
#3D9CEB
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0C3F23

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

Preview Lab → · Contrast checker → · Palette generator →

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