#0C4D26#0C4D26

#0C4D26 is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.1% C 0.091 H 151.6°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#0C4D26
RGBrgb(12, 77, 38)
HSLhsl(144, 73%, 17%)
HSVhsv(144, 84%, 30%)
CMYKcmyk(84.4%, 0%, 50.6%, 69.8%)
CIE-LABlab(28.18, -29.75, 17.61)
CIE-LCHlch(28.18, 34.57, 149.37°)
OKLaboklab(37.08% -0.08 0.0432)
OKLCHoklch(37.08% 0.091 151.6)
XYZxyz(3.1551, 5.5255, 2.7336)
Luminance0.0553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D26 #4D0C33
analogous
#124D0C #0C4D26 #0C4D47
triadic
#0C4D26 #260C4D #4D260C
tetradic
#0C4D26 #0C124D #4D0C33 #4D470C
square
#0C4D26 #0C124D #4D0C33 #4D470C
split-complementary
#0C4D26 #470C4D #4D0C12
monochromatic
#041A0D #041A0D #0C4D26 #148240 #1DB75A

Accessibility & contrast

On white

9.98
#0C4D26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#0C4D26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4D26
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D26#FFFFFF#000000##FFFFFF
##0C4D261.009.982.119.98
#FFFFFF9.981.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4623
Deuteranopia (green-blind)
#464029
Tritanopia (blue-blind)
#004C44
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0c4d26;
/* rgb */ color: rgb(12, 77, 38);
/* oklch */ color: oklch(37.1% 0.091 151.6);
Tailwind
colors: {
  custom: {
    50: '#577f61',
    500: '#0c4d26',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d26;
$custom-light: #577f61;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d26",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 38
  },
  "hsl": {
    "h": 144,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37084,
    "c": 0.09089,
    "h": 151.6
  },
  "luminance": 0.05526
}

Semantic roles & 50–950 ramp

primary
#0C4D26
secondary
#892C64
accent
#38A6F0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A05
muted
#797C79

Preview Lab

Preview with #0C4D26

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

Preview Lab → · Contrast checker → · Palette generator →

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