#0C4B23#0C4B23

#0C4B23 is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.4% C 0.091 H 150.5°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#0C4B23
RGBrgb(12, 75, 35)
HSLhsl(142, 72%, 17%)
HSVhsv(142, 84%, 29%)
CMYKcmyk(84%, 0%, 53.3%, 70.6%)
CIE-LABlab(27.38, -29.50, 18.39)
CIE-LCHlch(27.38, 34.76, 148.06°)
OKLaboklab(36.41% -0.0793 0.0449)
OKLCHoklch(36.41% 0.091 150.5)
XYZxyz(2.9708, 5.2313, 2.4430)
Luminance0.0523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4B23 #4B0C34
analogous
#144B0C #0C4B23 #0C4B43
triadic
#0C4B23 #230C4B #4B230C
tetradic
#0C4B23 #0C144B #4B0C34 #4B430C
square
#0C4B23 #0C144B #4B0C34 #4B430C
split-complementary
#0C4B23 #430C4B #4B0C14
monochromatic
#041A0C #041A0C #0C4B23 #14803C #1DB554

Accessibility & contrast

On white

10.26
#0C4B23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#0C4B23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4B23
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4B23#FFFFFF#000000##FFFFFF
##0C4B231.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4420
Deuteranopia (green-blind)
#443F26
Tritanopia (blue-blind)
#004A42
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0c4b23;
/* rgb */ color: rgb(12, 75, 35);
/* oklch */ color: oklch(36.4% 0.091 150.5);
Tailwind
colors: {
  custom: {
    50: '#577e5e',
    500: '#0c4b23',
    950: '#000000',
  },
}
SCSS
$custom: #0c4b23;
$custom-light: #577e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4b23",
  "rgb": {
    "r": 12,
    "g": 75,
    "b": 35
  },
  "hsl": {
    "h": 141.905,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36407,
    "c": 0.09109,
    "h": 150.5
  },
  "luminance": 0.05232
}

Semantic roles & 50–950 ramp

primary
#0C4B23
secondary
#872C66
accent
#39ADEF
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0C4B23

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

Preview Lab → · Contrast checker → · Palette generator →

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