#0C530E#0C530E

#0C530E is a dark, vivid green. Relative luminance 0.063; OKLCH L 38.6% C 0.120 H 143.1°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#0C530E
RGBrgb(12, 83, 14)
HSLhsl(122, 75%, 19%)
HSVhsv(122, 86%, 33%)
CMYKcmyk(85.5%, 0%, 83.1%, 67.5%)
CIE-LABlab(30.15, -35.40, 32.10)
CIE-LCHlch(30.15, 47.79, 137.80°)
OKLaboklab(38.62% -0.096 0.0721)
OKLCHoklch(38.62% 0.12 143.1)
XYZxyz(3.3239, 6.2960, 1.4554)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C530E #530C51
analogous
#2D530C #0C530E #0C5331
triadic
#0C530E #0E0C53 #530E0C
tetradic
#0C530E #0C2D53 #530C51 #53310C
square
#0C530E #0C2D53 #530C51 #53310C
split-complementary
#0C530E #310C53 #530C2D
monochromatic
#041B05 #041E05 #0C530E #148817 #1BBE20

Accessibility & contrast

On white

9.30
#0C530E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#0C530E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C530E
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C530E#FFFFFF#000000##FFFFFF
##0C530E1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A01
Deuteranopia (green-blind)
#4D4516
Tritanopia (blue-blind)
#005046
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0c530e;
/* rgb */ color: rgb(12, 83, 14);
/* oklch */ color: oklch(38.6% 0.120 143.1);
Tailwind
colors: {
  custom: {
    50: '#5a8452',
    500: '#0c530e',
    950: '#000000',
  },
}
SCSS
$custom: #0c530e;
$custom-light: #5a8452;
$custom-dark: #000000;
JSON
{
  "hex": "#0c530e",
  "rgb": {
    "r": 12,
    "g": 83,
    "b": 14
  },
  "hsl": {
    "h": 121.69,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38624,
    "c": 0.12006,
    "h": 143.1
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

primary
#0C530E
secondary
#8E2D8C
accent
#36ECF1
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040B02
muted
#797C78

Preview Lab

Preview with #0C530E

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

Preview Lab → · Contrast checker → · Palette generator →

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