#0B421B#0B421B

#0B421B is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.4% C 0.086 H 148.5°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#0B421B
RGBrgb(11, 66, 27)
HSLhsl(137, 71%, 15%)
HSVhsv(137, 83%, 26%)
CMYKcmyk(83.3%, 0%, 59.1%, 74.1%)
CIE-LABlab(23.82, -27.37, 18.70)
CIE-LCHlch(23.82, 33.15, 145.66°)
OKLaboklab(33.41% -0.0736 0.0451)
OKLCHoklch(33.41% 0.086 148.5)
XYZxyz(2.2839, 4.0464, 1.6974)
Luminance0.0405 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B421B #420B32
analogous
#16420B #0B421B #0B4237
triadic
#0B421B #1B0B42 #421B0B
tetradic
#0B421B #0B1642 #420B32 #42370B
square
#0B421B #0B1642 #420B32 #42370B
split-complementary
#0B421B #370B42 #420B16
monochromatic
#041A0B #041A0B #0B421B #147630 #1CAB46

Accessibility & contrast

On white

11.61
#0B421B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#0B421B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B421B
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B421B#FFFFFF#000000##FFFFFF
##0B421B1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B18
Deuteranopia (green-blind)
#3C371E
Tritanopia (blue-blind)
#004139
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0b421b;
/* rgb */ color: rgb(11, 66, 27);
/* oklch */ color: oklch(33.4% 0.086 148.5);
Tailwind
colors: {
  custom: {
    50: '#547758',
    500: '#0b421b',
    950: '#000000',
  },
}
SCSS
$custom: #0b421b;
$custom-light: #547758;
$custom-dark: #000000;
JSON
{
  "hex": "#0b421b",
  "rgb": {
    "r": 11,
    "g": 66,
    "b": 27
  },
  "hsl": {
    "h": 137.455,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33414,
    "c": 0.08633,
    "h": 148.5
  },
  "luminance": 0.04047
}

Semantic roles & 50–950 ramp

primary
#0B421B
secondary
#7F2A66
accent
#3ABAEE
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0B421B

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

Preview Lab → · Contrast checker → · Palette generator →

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