#0B3A04#0B3A04

#0B3A04 is a dark, moderate green. Relative luminance 0.031; OKLCH L 30.5% C 0.095 H 141.1°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#0B3A04
RGBrgb(11, 58, 4)
HSLhsl(112, 87%, 12%)
HSVhsv(112, 93%, 23%)
CMYKcmyk(81%, 0%, 93.1%, 77.3%)
CIE-LABlab(20.46, -27.11, 26.32)
CIE-LCHlch(20.46, 37.78, 135.84°)
OKLaboklab(30.55% -0.0741 0.0597)
OKLCHoklch(30.55% 0.095 141.1)
XYZxyz(1.6729, 3.1058, 0.6262)
Luminance0.0311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B3A04 #33043A
analogous
#263A04 #0B3A04 #043A18
triadic
#0B3A04 #040B3A #3A040B
tetradic
#0B3A04 #04263A #33043A #3A1804
square
#0B3A04 #04263A #33043A #3A1804
split-complementary
#0B3A04 #18043A #3A0426
monochromatic
#051D02 #051D02 #0B3A04 #167308 #21AD0C

Accessibility & contrast

On white

12.95
#0B3A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#0B3A04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B3A04
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B3A04#FFFFFF#000000##FFFFFF
##0B3A041.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#36300A
Tritanopia (blue-blind)
#023830
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0b3a04;
/* rgb */ color: rgb(11, 58, 4);
/* oklch */ color: oklch(30.5% 0.095 141.1);
Tailwind
colors: {
  custom: {
    50: '#537149',
    500: '#0b3a04',
    950: '#000000',
  },
}
SCSS
$custom: #0b3a04;
$custom-light: #537149;
$custom-dark: #000000;
JSON
{
  "hex": "#0b3a04",
  "rgb": {
    "r": 11,
    "g": 58,
    "b": 4
  },
  "hsl": {
    "h": 112.222,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30547,
    "c": 0.09514,
    "h": 141.1
  },
  "luminance": 0.03106
}

Semantic roles & 50–950 ramp

primary
#0B3A04
secondary
#701E7C
accent
#2BFDE2
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030701
muted
#787A77

Preview Lab

Preview with #0B3A04

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

Preview Lab → · Contrast checker → · Palette generator →

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