#0C3D23#0C3D23

#0C3D23 is a dark, moderate green. Relative luminance 0.035; OKLCH L 32.0% C 0.069 H 155.4°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#0C3D23
RGBrgb(12, 61, 35)
HSLhsl(148, 67%, 14%)
HSVhsv(148, 80%, 24%)
CMYKcmyk(80.3%, 0%, 42.6%, 76.1%)
CIE-LABlab(22.08, -23.30, 11.50)
CIE-LCHlch(22.08, 25.99, 153.72°)
OKLaboklab(32.03% -0.063 0.0288)
OKLCHoklch(32.03% 0.069 155.4)
XYZxyz(2.1235, 3.5368, 2.1605)
Luminance0.0354 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3D23 #3D0C26
analogous
#0E3D0C #0C3D23 #0C3D3C
triadic
#0C3D23 #230C3D #3D230C
tetradic
#0C3D23 #0C0E3D #3D0C26 #3D3C0C
square
#0C3D23 #0C0E3D #3D0C26 #3D3C0C
split-complementary
#0C3D23 #3C0C3D #3D0C0E
monochromatic
#051A0F #051A0F #0C3D23 #167040 #20A35E

Accessibility & contrast

On white

12.30
#0C3D23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#0C3D23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3D23
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3D23#FFFFFF#000000##FFFFFF
##0C3D231.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3721
Deuteranopia (green-blind)
#373325
Tritanopia (blue-blind)
#003C36
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0c3d23;
/* rgb */ color: rgb(12, 61, 35);
/* oklch */ color: oklch(32.0% 0.069 155.4);
Tailwind
colors: {
  custom: {
    50: '#53735e',
    500: '#0c3d23',
    950: '#000000',
  },
}
SCSS
$custom: #0c3d23;
$custom-light: #53735e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3d23",
  "rgb": {
    "r": 12,
    "g": 61,
    "b": 35
  },
  "hsl": {
    "h": 148.163,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.32026,
    "c": 0.06927,
    "h": 155.4
  },
  "luminance": 0.03537
}

Semantic roles & 50–950 ramp

primary
#0C3D23
secondary
#792C55
accent
#3E99EA
background
#F4F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0C3D23

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

Preview Lab → · Contrast checker → · Palette generator →

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