#0C4B26#0C4B26

#0C4B26 is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.5% C 0.088 H 152.2°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#0C4B26
RGBrgb(12, 75, 38)
HSLhsl(145, 72%, 17%)
HSVhsv(145, 84%, 29%)
CMYKcmyk(84%, 0%, 49.3%, 70.6%)
CIE-LABlab(27.44, -28.90, 16.66)
CIE-LCHlch(27.44, 33.36, 150.05°)
OKLaboklab(36.47% -0.0777 0.041)
OKLCHoklch(36.47% 0.088 152.2)
XYZxyz(3.0173, 5.2499, 2.6877)
Luminance0.0525 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4B26 #4B0C31
analogous
#124B0C #0C4B26 #0C4B46
triadic
#0C4B26 #260C4B #4B260C
tetradic
#0C4B26 #0C124B #4B0C31 #4B460C
square
#0C4B26 #0C124B #4B0C31 #4B460C
split-complementary
#0C4B26 #460C4B #4B0C12
monochromatic
#041A0D #041A0D #0C4B26 #148041 #1DB55B

Accessibility & contrast

On white

10.24
#0C4B26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4B26
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4B26#FFFFFF#000000##FFFFFF
##0C4B261.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4b26;
/* rgb */ color: rgb(12, 75, 38);
/* oklch */ color: oklch(36.5% 0.088 152.2);
Tailwind
colors: {
  custom: {
    50: '#577e61',
    500: '#0c4b26',
    950: '#000000',
  },
}
SCSS
$custom: #0c4b26;
$custom-light: #577e61;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4b26",
  "rgb": {
    "r": 12,
    "g": 75,
    "b": 38
  },
  "hsl": {
    "h": 144.762,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36466,
    "c": 0.08788,
    "h": 152.2
  },
  "luminance": 0.0525
}

Semantic roles & 50–950 ramp

primary
#0C4B26
secondary
#872C61
accent
#39A4EF
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A05
muted
#797C79

Preview Lab

Preview with #0C4B26

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

Preview Lab → · Contrast checker → · Palette generator →

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