#0B2E12#0B2E12

#0B2E12 is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.8% C 0.064 H 147.3°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#0B2E12
RGBrgb(11, 46, 18)
HSLhsl(132, 61%, 11%)
HSVhsv(132, 76%, 18%)
CMYKcmyk(76.1%, 0%, 60.9%, 82%)
CIE-LABlab(15.84, -20.06, 14.35)
CIE-LCHlch(15.84, 24.66, 144.43°)
OKLaboklab(26.77% -0.0542 0.0348)
OKLCHoklch(26.77% 0.064 147.3)
XYZxyz(1.2241, 2.0687, 0.9069)
Luminance0.0207 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2E12 #2E0B27
analogous
#152E0B #0B2E12 #0B2E23
triadic
#0B2E12 #120B2E #2E120B
tetradic
#0B2E12 #0B152E #2E0B27 #2E230B
square
#0B2E12 #0B152E #2E0B27 #2E230B
split-complementary
#0B2E12 #230B2E #2E0B15
monochromatic
#06190A #06190A #0B2E12 #175F25 #239139

Accessibility & contrast

On white

14.85
#0B2E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0B2E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B2E12
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2E12#FFFFFF#000000##FFFFFF
##0B2E121.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2910
Deuteranopia (green-blind)
#2A2614
Tritanopia (blue-blind)
#032D27
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0b2e12;
/* rgb */ color: rgb(11, 46, 18);
/* oklch */ color: oklch(26.8% 0.064 147.3);
Tailwind
colors: {
  custom: {
    50: '#4f6750',
    500: '#0b2e12',
    950: '#000000',
  },
}
SCSS
$custom: #0b2e12;
$custom-light: #4f6750;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2e12",
  "rgb": {
    "r": 11,
    "g": 46,
    "b": 18
  },
  "hsl": {
    "h": 132,
    "s": 61.404,
    "l": 11.176
  },
  "oklch": {
    "l": 0.26774,
    "c": 0.06438,
    "h": 147.3
  },
  "luminance": 0.02069
}

Semantic roles & 50–950 ramp

primary
#0B2E12
secondary
#6A2A5E
accent
#43C4E5
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020602
muted
#787A78

Preview Lab

Preview with #0B2E12

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

Preview Lab → · Contrast checker → · Palette generator →

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