#0C4B25#0C4B25

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

Color values

HEX#0C4B25
RGBrgb(12, 75, 37)
HSLhsl(144, 72%, 17%)
HSVhsv(144, 84%, 29%)
CMYKcmyk(84%, 0%, 50.7%, 70.6%)
CIE-LABlab(27.42, -29.11, 17.24)
CIE-LCHlch(27.42, 33.83, 149.36°)
OKLaboklab(36.45% -0.0782 0.0423)
OKLCHoklch(36.45% 0.089 151.6)
XYZxyz(3.0014, 5.2435, 2.6038)
Luminance0.0524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4B25 #4B0C32
analogous
#124B0C #0C4B25 #0C4B45
triadic
#0C4B25 #250C4B #4B250C
tetradic
#0C4B25 #0C124B #4B0C32 #4B450C
square
#0C4B25 #0C124B #4B0C32 #4B450C
split-complementary
#0C4B25 #450C4B #4B0C12
monochromatic
#041A0D #041A0D #0C4B25 #14803F #1DB559

Accessibility & contrast

On white

10.25
#0C4B25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4B25
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4B25#FFFFFF#000000##FFFFFF
##0C4B251.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4b25;
/* rgb */ color: rgb(12, 75, 37);
/* oklch */ color: oklch(36.4% 0.089 151.6);
Tailwind
colors: {
  custom: {
    50: '#577e60',
    500: '#0c4b25',
    950: '#000000',
  },
}
SCSS
$custom: #0c4b25;
$custom-light: #577e60;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4b25",
  "rgb": {
    "r": 12,
    "g": 75,
    "b": 37
  },
  "hsl": {
    "h": 143.81,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36446,
    "c": 0.08896,
    "h": 151.6
  },
  "luminance": 0.05244
}

Semantic roles & 50–950 ramp

primary
#0C4B25
secondary
#872C63
accent
#39A7EF
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A05
muted
#797C79

Preview Lab

Preview with #0C4B25

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

Preview Lab → · Contrast checker → · Palette generator →

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