#0C3818#0C3818

#0C3818 is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.2% C 0.074 H 148.8°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#0C3818
RGBrgb(12, 56, 24)
HSLhsl(136, 65%, 13%)
HSVhsv(136, 79%, 22%)
CMYKcmyk(78.6%, 0%, 57.1%, 78%)
CIE-LABlab(19.93, -23.34, 15.70)
CIE-LCHlch(19.93, 28.13, 146.07°)
OKLaboklab(30.19% -0.0629 0.0382)
OKLCHoklch(30.19% 0.074 148.8)
XYZxyz(1.7305, 2.9723, 1.3465)
Luminance0.0297 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3818 #380C2C
analogous
#16380C #0C3818 #0C382E
triadic
#0C3818 #180C38 #38180C
tetradic
#0C3818 #0C1638 #380C2C #382E0C
square
#0C3818 #0C1638 #380C2C #382E0C
split-complementary
#0C3818 #2E0C38 #380C16
monochromatic
#05190B #05190B #0C3818 #176A2E #229D43

Accessibility & contrast

On white

13.17
#0C3818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#0C3818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3818
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3818#FFFFFF#000000##FFFFFF
##0C38181.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393215
Deuteranopia (green-blind)
#332F1A
Tritanopia (blue-blind)
#003731
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0c3818;
/* rgb */ color: rgb(12, 56, 24);
/* oklch */ color: oklch(30.2% 0.074 148.8);
Tailwind
colors: {
  custom: {
    50: '#526f55',
    500: '#0c3818',
    950: '#000000',
  },
}
SCSS
$custom: #0c3818;
$custom-light: #526f55;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3818",
  "rgb": {
    "r": 12,
    "g": 56,
    "b": 24
  },
  "hsl": {
    "h": 136.364,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.30189,
    "c": 0.07359,
    "h": 148.8
  },
  "luminance": 0.02972
}

Semantic roles & 50–950 ramp

primary
#0C3818
secondary
#742C60
accent
#40BAE8
background
#F4F6F5
surface
#E7ECE8
border
#C3C7C4
text
#020703
muted
#787A78

Preview Lab

Preview with #0C3818

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

Preview Lab → · Contrast checker → · Palette generator →

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