#0B4118#0B4118

#0B4118 is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.0% C 0.088 H 147.3°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#0B4118
RGBrgb(11, 65, 24)
HSLhsl(134, 71%, 15%)
HSVhsv(134, 83%, 25%)
CMYKcmyk(83.1%, 0%, 63.1%, 74.5%)
CIE-LABlab(23.40, -27.47, 19.93)
CIE-LCHlch(23.40, 33.94, 144.03°)
OKLaboklab(33.05% -0.074 0.0476)
OKLCHoklch(33.05% 0.088 147.3)
XYZxyz(2.1930, 3.9174, 1.5045)
Luminance0.0392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4118 #410B34
analogous
#19410B #0B4118 #0B4133
triadic
#0B4118 #180B41 #41180B
tetradic
#0B4118 #0B1941 #410B34 #41330B
square
#0B4118 #0B1941 #410B34 #41330B
split-complementary
#0B4118 #330B41 #410B19
monochromatic
#041A0A #041A0A #0B4118 #14752B #1DAA3F

Accessibility & contrast

On white

11.77
#0B4118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#0B4118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4118
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4118#FFFFFF#000000##FFFFFF
##0B41181.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A14
Deuteranopia (green-blind)
#3C361B
Tritanopia (blue-blind)
#003F38
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0b4118;
/* rgb */ color: rgb(11, 65, 24);
/* oklch */ color: oklch(33.0% 0.088 147.3);
Tailwind
colors: {
  custom: {
    50: '#547656',
    500: '#0b4118',
    950: '#000000',
  },
}
SCSS
$custom: #0b4118;
$custom-light: #547656;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4118",
  "rgb": {
    "r": 11,
    "g": 65,
    "b": 24
  },
  "hsl": {
    "h": 134.444,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33046,
    "c": 0.08794,
    "h": 147.3
  },
  "luminance": 0.03918
}

Semantic roles & 50–950 ramp

primary
#0B4118
secondary
#7E2A6A
accent
#3AC3EE
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #0B4118

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

Preview Lab → · Contrast checker → · Palette generator →

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