#0B421A#0B421A

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

Color values

HEX#0B421A
RGBrgb(11, 66, 26)
HSLhsl(136, 71%, 15%)
HSVhsv(136, 83%, 26%)
CMYKcmyk(83.3%, 0%, 60.6%, 74.1%)
CIE-LABlab(23.81, -27.55, 19.27)
CIE-LCHlch(23.81, 33.62, 145.03°)
OKLaboklab(33.4% -0.0741 0.0463)
OKLCHoklch(33.4% 0.087 148)
XYZxyz(2.2725, 4.0419, 1.6375)
Luminance0.0404 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B421A #420B33
analogous
#17420B #0B421A #0B4236
triadic
#0B421A #1A0B42 #421A0B
tetradic
#0B421A #0B1742 #420B33 #42360B
square
#0B421A #0B1742 #420B33 #42360B
split-complementary
#0B421A #360B42 #420B17
monochromatic
#041A0A #041A0A #0B421A #14762F #1CAB43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0B421A#FFFFFF#000000##FFFFFF
##0B421A1.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)
#433B16
Deuteranopia (green-blind)
#3C371D
Tritanopia (blue-blind)
#004039
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0b421a;
/* rgb */ color: rgb(11, 66, 26);
/* oklch */ color: oklch(33.4% 0.087 148.0);
Tailwind
colors: {
  custom: {
    50: '#547757',
    500: '#0b421a',
    950: '#000000',
  },
}
SCSS
$custom: #0b421a;
$custom-light: #547757;
$custom-dark: #000000;
JSON
{
  "hex": "#0b421a",
  "rgb": {
    "r": 11,
    "g": 66,
    "b": 26
  },
  "hsl": {
    "h": 136.364,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33397,
    "c": 0.08738,
    "h": 148
  },
  "luminance": 0.04042
}

Semantic roles & 50–950 ramp

primary
#0B421A
secondary
#7F2A68
accent
#3ABDEE
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0B421A

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

Preview Lab → · Contrast checker → · Palette generator →

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