#0C4824#0C4824

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

Color values

HEX#0C4824
RGBrgb(12, 72, 36)
HSLhsl(144, 71%, 16%)
HSVhsv(144, 83%, 28%)
CMYKcmyk(83.3%, 0%, 50%, 71.8%)
CIE-LABlab(26.27, -28.03, 16.38)
CIE-LCHlch(26.27, 32.46, 149.70°)
OKLaboklab(35.49% -0.0754 0.0403)
OKLCHoklch(35.49% 0.085 151.9)
XYZxyz(2.7872, 4.8399, 2.4560)
Luminance0.0484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4824 #480C30
analogous
#12480C #0C4824 #0C4842
triadic
#0C4824 #240C48 #48240C
tetradic
#0C4824 #0C1248 #480C30 #48420C
square
#0C4824 #0C1248 #480C30 #48420C
split-complementary
#0C4824 #420C48 #480C12
monochromatic
#041A0D #041A0D #0C4824 #157C3E #1DB158

Accessibility & contrast

On white

10.67
#0C4824 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4824
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4824#FFFFFF#000000##FFFFFF
##0C48241.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4824;
/* rgb */ color: rgb(12, 72, 36);
/* oklch */ color: oklch(35.5% 0.085 151.9);
Tailwind
colors: {
  custom: {
    50: '#567c5f',
    500: '#0c4824',
    950: '#000000',
  },
}
SCSS
$custom: #0c4824;
$custom-light: #567c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4824",
  "rgb": {
    "r": 12,
    "g": 72,
    "b": 36
  },
  "hsl": {
    "h": 144,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35495,
    "c": 0.08548,
    "h": 151.9
  },
  "luminance": 0.0484
}

Semantic roles & 50–950 ramp

primary
#0C4824
secondary
#842C61
accent
#3AA6EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0C4824

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

Preview Lab → · Contrast checker → · Palette generator →

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