#0C411B#0C411B

#0C411B is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.1% C 0.084 H 148.5°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#0C411B
RGBrgb(12, 65, 27)
HSLhsl(137, 69%, 15%)
HSVhsv(137, 82%, 25%)
CMYKcmyk(81.5%, 0%, 58.5%, 74.5%)
CIE-LABlab(23.46, -26.76, 18.26)
CIE-LCHlch(23.46, 32.40, 145.69°)
OKLaboklab(33.12% -0.072 0.0441)
OKLCHoklch(33.12% 0.084 148.5)
XYZxyz(2.2396, 3.9376, 1.6787)
Luminance0.0394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C411B #410C32
analogous
#18410C #0C411B #0C4135
triadic
#0C411B #1B0C41 #411B0C
tetradic
#0C411B #0C1841 #410C32 #41350C
square
#0C411B #0C1841 #410C32 #41350C
split-complementary
#0C411B #350C41 #410C18
monochromatic
#051A0B #051A0B #0C411B #167530 #1FA846

Accessibility & contrast

On white

11.75
#0C411B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#0C411B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C411B
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C411B#FFFFFF#000000##FFFFFF
##0C411B1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B18
Deuteranopia (green-blind)
#3B361E
Tritanopia (blue-blind)
#004038
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0c411b;
/* rgb */ color: rgb(12, 65, 27);
/* oklch */ color: oklch(33.1% 0.084 148.5);
Tailwind
colors: {
  custom: {
    50: '#547658',
    500: '#0c411b',
    950: '#000000',
  },
}
SCSS
$custom: #0c411b;
$custom-light: #547658;
$custom-dark: #000000;
JSON
{
  "hex": "#0c411b",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 27
  },
  "hsl": {
    "h": 136.981,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33123,
    "c": 0.08445,
    "h": 148.5
  },
  "luminance": 0.03938
}

Semantic roles & 50–950 ramp

primary
#0C411B
secondary
#7D2C66
accent
#3CBAEC
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #0C411B

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

Preview Lab → · Contrast checker → · Palette generator →

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