#0B2F18#0B2F18

#0B2F18 is a dark, muted green. Relative luminance 0.022; OKLCH L 27.2% C 0.059 H 152.1°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#0B2F18
RGBrgb(11, 47, 24)
HSLhsl(142, 62%, 11%)
HSVhsv(142, 77%, 18%)
CMYKcmyk(76.6%, 0%, 48.9%, 81.6%)
CIE-LABlab(16.36, -19.30, 11.11)
CIE-LCHlch(16.36, 22.27, 150.06°)
OKLaboklab(27.23% -0.0522 0.0276)
OKLCHoklch(27.23% 0.059 152.1)
XYZxyz(1.3193, 2.1700, 1.2133)
Luminance0.0217 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2F18 #2F0B22
analogous
#102F0B #0B2F18 #0B2F2A
triadic
#0B2F18 #180B2F #2F180B
tetradic
#0B2F18 #0B102F #2F0B22 #2F2A0B
square
#0B2F18 #0B102F #2F0B22 #2F2A0B
split-complementary
#0B2F18 #2A0B2F #2F0B10
monochromatic
#06190D #06190D #0B2F18 #176131 #22924B

Accessibility & contrast

On white

14.64
#0B2F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B2F18
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2F18#FFFFFF#000000##FFFFFF
##0B2F181.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2A16
Deuteranopia (green-blind)
#2A271A
Tritanopia (blue-blind)
#012E29
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0b2f18;
/* rgb */ color: rgb(11, 47, 24);
/* oklch */ color: oklch(27.2% 0.059 152.1);
Tailwind
colors: {
  custom: {
    50: '#4f6855',
    500: '#0b2f18',
    950: '#000000',
  },
}
SCSS
$custom: #0b2f18;
$custom-light: #4f6855;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2f18",
  "rgb": {
    "r": 11,
    "g": 47,
    "b": 24
  },
  "hsl": {
    "h": 141.667,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27232,
    "c": 0.05901,
    "h": 152.1
  },
  "luminance": 0.0217
}

Semantic roles & 50–950 ramp

primary
#0B2F18
secondary
#6B2A54
accent
#43AAE5
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020603
muted
#787A78

Preview Lab

Preview with #0B2F18

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

Preview Lab → · Contrast checker → · Palette generator →

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