#0B4C2A#0B4C2A

#0B4C2A is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.8% C 0.085 H 154.5°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#0B4C2A
RGBrgb(11, 76, 42)
HSLhsl(149, 75%, 17%)
HSVhsv(149, 86%, 30%)
CMYKcmyk(85.5%, 0%, 44.7%, 70.2%)
CIE-LABlab(27.86, -28.63, 14.77)
CIE-LCHlch(27.86, 32.21, 152.72°)
OKLaboklab(36.84% -0.0771 0.0367)
OKLCHoklch(36.84% 0.085 154.5)
XYZxyz(3.1401, 5.4068, 3.0682)
Luminance0.0541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4C2A #4C0B2D
analogous
#0D4C0B #0B4C2A #0B4C4B
triadic
#0B4C2A #2A0B4C #4C2A0B
tetradic
#0B4C2A #0B0D4C #4C0B2D #4C4B0B
square
#0B4C2A #0B0D4C #4C0B2D #4C4B0B
split-complementary
#0B4C2A #4B0B4C #4C0B0D
monochromatic
#041B0F #041B0F #0B4C2A #138148 #1AB765

Accessibility & contrast

On white

10.09
#0B4C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#0B4C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4C2A
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4C2A#FFFFFF#000000##FFFFFF
##0B4C2A1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4528
Deuteranopia (green-blind)
#44402C
Tritanopia (blue-blind)
#004B44
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0b4c2a;
/* rgb */ color: rgb(11, 76, 42);
/* oklch */ color: oklch(36.8% 0.085 154.5);
Tailwind
colors: {
  custom: {
    50: '#577f64',
    500: '#0b4c2a',
    950: '#000000',
  },
}
SCSS
$custom: #0b4c2a;
$custom-light: #577f64;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4c2a",
  "rgb": {
    "r": 11,
    "g": 76,
    "b": 42
  },
  "hsl": {
    "h": 148.615,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36839,
    "c": 0.08542,
    "h": 154.5
  },
  "luminance": 0.05407
}

Semantic roles & 50–950 ramp

primary
#0B4C2A
secondary
#882B5C
accent
#3698F1
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #0B4C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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