#0B4A18#0B4A18

#0B4A18 is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.9% C 0.101 H 146.1°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#0B4A18
RGBrgb(11, 74, 24)
HSLhsl(132, 74%, 17%)
HSVhsv(132, 85%, 29%)
CMYKcmyk(85.1%, 0%, 67.6%, 71%)
CIE-LABlab(26.83, -31.10, 23.95)
CIE-LCHlch(26.83, 39.25, 142.39°)
OKLaboklab(35.89% -0.0838 0.0563)
OKLCHoklch(35.89% 0.101 146.1)
XYZxyz(2.7515, 5.0343, 1.6907)
Luminance0.0503 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4A18 #4A0B3D
analogous
#1E4A0B #0B4A18 #0B4A38
triadic
#0B4A18 #180B4A #4A180B
tetradic
#0B4A18 #0B1E4A #4A0B3D #4A380B
square
#0B4A18 #0B1E4A #4A0B3D #4A380B
split-complementary
#0B4A18 #380B4A #4A0B1E
monochromatic
#041B09 #041B09 #0B4A18 #137F29 #1BB53B

Accessibility & contrast

On white

10.46
#0B4A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#0B4A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4A18
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4A18#FFFFFF#000000##FFFFFF
##0B4A181.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4213
Deuteranopia (green-blind)
#443E1C
Tritanopia (blue-blind)
#00483F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0b4a18;
/* rgb */ color: rgb(11, 74, 24);
/* oklch */ color: oklch(35.9% 0.101 146.1);
Tailwind
colors: {
  custom: {
    50: '#577d57',
    500: '#0b4a18',
    950: '#000000',
  },
}
SCSS
$custom: #0b4a18;
$custom-light: #577d57;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4a18",
  "rgb": {
    "r": 11,
    "g": 74,
    "b": 24
  },
  "hsl": {
    "h": 132.381,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35894,
    "c": 0.10093,
    "h": 146.1
  },
  "luminance": 0.05035
}

Semantic roles & 50–950 ramp

primary
#0B4A18
secondary
#862B73
accent
#37CAF1
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0B4A18

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

Preview Lab → · Contrast checker → · Palette generator →

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