#0C4823#0C4823

#0C4823 is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.5% C 0.087 H 151.3°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#0C4823
RGBrgb(12, 72, 35)
HSLhsl(143, 71%, 16%)
HSVhsv(143, 83%, 28%)
CMYKcmyk(83.3%, 0%, 51.4%, 71.8%)
CIE-LABlab(26.26, -28.23, 16.96)
CIE-LCHlch(26.26, 32.93, 149.00°)
OKLaboklab(35.47% -0.0759 0.0416)
OKLCHoklch(35.47% 0.087 151.3)
XYZxyz(2.7721, 4.8339, 2.3767)
Luminance0.0483 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4823 #480C31
analogous
#13480C #0C4823 #0C4841
triadic
#0C4823 #230C48 #48230C
tetradic
#0C4823 #0C1348 #480C31 #48410C
square
#0C4823 #0C1348 #480C31 #48410C
split-complementary
#0C4823 #410C48 #480C13
monochromatic
#041A0D #041A0D #0C4823 #157C3D #1DB156

Accessibility & contrast

On white

10.68
#0C4823 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#0C4823 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4823
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4823#FFFFFF#000000##FFFFFF
##0C48231.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484120
Deuteranopia (green-blind)
#413C26
Tritanopia (blue-blind)
#00473F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0c4823;
/* rgb */ color: rgb(12, 72, 35);
/* oklch */ color: oklch(35.5% 0.087 151.3);
Tailwind
colors: {
  custom: {
    50: '#567c5e',
    500: '#0c4823',
    950: '#000000',
  },
}
SCSS
$custom: #0c4823;
$custom-light: #567c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4823",
  "rgb": {
    "r": 12,
    "g": 72,
    "b": 35
  },
  "hsl": {
    "h": 143,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35474,
    "c": 0.08656,
    "h": 151.3
  },
  "luminance": 0.04834
}

Semantic roles & 50–950 ramp

primary
#0C4823
secondary
#842C62
accent
#3AA9EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0C4823

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

Preview Lab → · Contrast checker → · Palette generator →

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