#0C4023#0C4023

#0C4023 is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.0% C 0.074 H 154.0°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#0C4023
RGBrgb(12, 64, 35)
HSLhsl(147, 68%, 15%)
HSVhsv(147, 81%, 25%)
CMYKcmyk(81.2%, 0%, 45.3%, 74.9%)
CIE-LABlab(23.22, -24.69, 13.03)
CIE-LCHlch(23.22, 27.92, 152.19°)
OKLaboklab(32.97% -0.0666 0.0324)
OKLCHoklch(32.97% 0.074 154)
XYZxyz(2.2882, 3.8660, 2.2154)
Luminance0.0387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4023 #400C29
analogous
#0F400C #0C4023 #0C403D
triadic
#0C4023 #230C40 #40230C
tetradic
#0C4023 #0C0F40 #400C29 #403D0C
square
#0C4023 #0C0F40 #400C29 #403D0C
split-complementary
#0C4023 #3D0C40 #400C0F
monochromatic
#051A0E #051A0E #0C4023 #16743F #1FA75B

Accessibility & contrast

On white

11.84
#0C4023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#0C4023 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4023
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4023#FFFFFF#000000##FFFFFF
##0C40231.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A21
Deuteranopia (green-blind)
#3A3625
Tritanopia (blue-blind)
#003F39
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0c4023;
/* rgb */ color: rgb(12, 64, 35);
/* oklch */ color: oklch(33.0% 0.074 154.0);
Tailwind
colors: {
  custom: {
    50: '#54755e',
    500: '#0c4023',
    950: '#000000',
  },
}
SCSS
$custom: #0c4023;
$custom-light: #54755e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4023",
  "rgb": {
    "r": 12,
    "g": 64,
    "b": 35
  },
  "hsl": {
    "h": 146.538,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.32971,
    "c": 0.07409,
    "h": 154
  },
  "luminance": 0.03866
}

Semantic roles & 50–950 ramp

primary
#0C4023
secondary
#7C2C59
accent
#3D9EEB
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0C4023

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

Preview Lab → · Contrast checker → · Palette generator →

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