#0C5518#0C5518

#0C5518 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.3% C 0.116 H 145.1°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#0C5518
RGBrgb(12, 85, 24)
HSLhsl(130, 75%, 19%)
HSVhsv(130, 86%, 33%)
CMYKcmyk(85.9%, 0%, 71.8%, 66.7%)
CIE-LABlab(30.97, -35.11, 28.59)
CIE-LCHlch(30.97, 45.28, 140.84°)
OKLaboklab(39.34% -0.0947 0.0662)
OKLCHoklch(39.34% 0.116 145.1)
XYZxyz(3.5647, 6.6407, 1.9579)
Luminance0.0664 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5518 #550C49
analogous
#25550C #0C5518 #0C553D
triadic
#0C5518 #180C55 #55180C
tetradic
#0C5518 #0C2555 #550C49 #553D0C
square
#0C5518 #0C2555 #550C49 #553D0C
split-complementary
#0C5518 #3D0C55 #550C25
monochromatic
#041B08 #041F09 #0C5518 #148B27 #1BC036

Accessibility & contrast

On white

9.02
#0C5518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#0C5518 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5518
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5518#FFFFFF#000000##FFFFFF
##0C55181.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C10
Deuteranopia (green-blind)
#4F471E
Tritanopia (blue-blind)
#005348
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0c5518;
/* rgb */ color: rgb(12, 85, 24);
/* oklch */ color: oklch(39.3% 0.116 145.1);
Tailwind
colors: {
  custom: {
    50: '#5a8658',
    500: '#0c5518',
    950: '#000000',
  },
}
SCSS
$custom: #0c5518;
$custom-light: #5a8658;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5518",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 24
  },
  "hsl": {
    "h": 129.863,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39338,
    "c": 0.11554,
    "h": 145.1
  },
  "luminance": 0.06641
}

Semantic roles & 50–950 ramp

primary
#0C5518
secondary
#902D80
accent
#36D3F2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0C5518

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

Preview Lab → · Contrast checker → · Palette generator →

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