#0C3E23#0C3E23

#0C3E23 is a dark, moderate green. Relative luminance 0.036; OKLCH L 32.3% C 0.071 H 154.9°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#0C3E23
RGBrgb(12, 62, 35)
HSLhsl(148, 68%, 15%)
HSVhsv(148, 81%, 24%)
CMYKcmyk(80.6%, 0%, 43.5%, 75.7%)
CIE-LABlab(22.46, -23.77, 12.01)
CIE-LCHlch(22.46, 26.63, 153.19°)
OKLaboklab(32.34% -0.0642 0.03)
OKLCHoklch(32.34% 0.071 154.9)
XYZxyz(2.1774, 3.6445, 2.1785)
Luminance0.0365 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3E23 #3E0C27
analogous
#0E3E0C #0C3E23 #0C3E3C
triadic
#0C3E23 #230C3E #3E230C
tetradic
#0C3E23 #0C0E3E #3E0C27 #3E3C0C
square
#0C3E23 #0C0E3E #3E0C27 #3E3C0C
split-complementary
#0C3E23 #3C0C3E #3E0C0E
monochromatic
#051A0E #051A0E #0C3E23 #167140 #20A55D

Accessibility & contrast

On white

12.15
#0C3E23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#0C3E23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3E23
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3E23#FFFFFF#000000##FFFFFF
##0C3E231.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3821
Deuteranopia (green-blind)
#383425
Tritanopia (blue-blind)
#003D37
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #0c3e23;
/* rgb */ color: rgb(12, 62, 35);
/* oklch */ color: oklch(32.3% 0.071 154.9);
Tailwind
colors: {
  custom: {
    50: '#53745e',
    500: '#0c3e23',
    950: '#000000',
  },
}
SCSS
$custom: #0c3e23;
$custom-light: #53745e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3e23",
  "rgb": {
    "r": 12,
    "g": 62,
    "b": 35
  },
  "hsl": {
    "h": 147.6,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32341,
    "c": 0.07089,
    "h": 154.9
  },
  "luminance": 0.03645
}

Semantic roles & 50–950 ramp

primary
#0C3E23
secondary
#7A2C56
accent
#3D9BEA
background
#F5F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0C3E23

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

Preview Lab → · Contrast checker → · Palette generator →

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