#0B3102#0B3102

#0B3102 is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.5% C 0.085 H 139.9°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#0B3102
RGBrgb(11, 49, 2)
HSLhsl(109, 92%, 10%)
HSVhsv(109, 96%, 19%)
CMYKcmyk(77.6%, 0%, 95.9%, 80.8%)
CIE-LABlab(16.85, -23.68, 22.91)
CIE-LCHlch(16.85, 32.95, 135.95°)
OKLaboklab(27.55% -0.0651 0.0548)
OKLCHoklch(27.55% 0.085 139.9)
XYZxyz(1.2472, 2.2720, 0.4302)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B3102 #280231
analogous
#223102 #0B3102 #023111
triadic
#0B3102 #020B31 #31020B
tetradic
#0B3102 #022231 #280231 #311102
square
#0B3102 #022231 #280231 #311102
split-complementary
#0B3102 #110231 #310222
monochromatic
#071D01 #071D01 #0B3102 #186C04 #25A707

Accessibility & contrast

On white

14.44
#0B3102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0B3102 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B3102
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B3102#FFFFFF#000000##FFFFFF
##0B31021.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332B00
Deuteranopia (green-blind)
#2E2806
Tritanopia (blue-blind)
#062F28
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0b3102;
/* rgb */ color: rgb(11, 49, 2);
/* oklch */ color: oklch(27.5% 0.085 139.9);
Tailwind
colors: {
  custom: {
    50: '#506948',
    500: '#0b3102',
    950: '#000000',
  },
}
SCSS
$custom: #0b3102;
$custom-light: #506948;
$custom-dark: #000000;
JSON
{
  "hex": "#0b3102",
  "rgb": {
    "r": 11,
    "g": 49,
    "b": 2
  },
  "hsl": {
    "h": 108.511,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.27547,
    "c": 0.08507,
    "h": 139.9
  },
  "luminance": 0.02272
}

Semantic roles & 50–950 ramp

primary
#0B3102
secondary
#641975
accent
#29FFD6
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #0B3102

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

Preview Lab → · Contrast checker → · Palette generator →

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