#0B2F12#0B2F12

#0B2F12 is a dark, moderate green. Relative luminance 0.021; OKLCH L 27.1% C 0.066 H 147.1°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#0B2F12
RGBrgb(11, 47, 18)
HSLhsl(132, 62%, 11%)
HSVhsv(132, 77%, 18%)
CMYKcmyk(76.6%, 0%, 61.7%, 81.6%)
CIE-LABlab(16.24, -20.54, 14.85)
CIE-LCHlch(16.24, 25.34, 144.13°)
OKLaboklab(27.11% -0.0555 0.0359)
OKLCHoklch(27.11% 0.066 147.1)
XYZxyz(1.2636, 2.1477, 0.9201)
Luminance0.0215 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2F12 #2F0B28
analogous
#162F0B #0B2F12 #0B2F24
triadic
#0B2F12 #120B2F #2F120B
tetradic
#0B2F12 #0B162F #2F0B28 #2F240B
square
#0B2F12 #0B162F #2F0B28 #2F240B
split-complementary
#0B2F12 #240B2F #2F0B16
monochromatic
#061909 #061909 #0B2F12 #176125 #229238

Accessibility & contrast

On white

14.69
#0B2F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0B2F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B2F12
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2F12#FFFFFF#000000##FFFFFF
##0B2F121.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A10
Deuteranopia (green-blind)
#2B2714
Tritanopia (blue-blind)
#032E28
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0b2f12;
/* rgb */ color: rgb(11, 47, 18);
/* oklch */ color: oklch(27.1% 0.066 147.1);
Tailwind
colors: {
  custom: {
    50: '#4f6850',
    500: '#0b2f12',
    950: '#000000',
  },
}
SCSS
$custom: #0b2f12;
$custom-light: #4f6850;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2f12",
  "rgb": {
    "r": 11,
    "g": 47,
    "b": 18
  },
  "hsl": {
    "h": 131.667,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27105,
    "c": 0.06605,
    "h": 147.1
  },
  "luminance": 0.02148
}

Semantic roles & 50–950 ramp

primary
#0B2F12
secondary
#6B2A5F
accent
#43C6E5
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020602
muted
#787A78

Preview Lab

Preview with #0B2F12

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

Preview Lab → · Contrast checker → · Palette generator →

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