#0B421C#0B421C

#0B421C is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.4% C 0.085 H 149.0°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#0B421C
RGBrgb(11, 66, 28)
HSLhsl(139, 71%, 15%)
HSVhsv(139, 83%, 26%)
CMYKcmyk(83.3%, 0%, 57.6%, 74.1%)
CIE-LABlab(23.84, -27.19, 18.13)
CIE-LCHlch(23.84, 32.68, 146.31°)
OKLaboklab(33.43% -0.0731 0.0439)
OKLCHoklch(33.43% 0.085 149)
XYZxyz(2.2956, 4.0512, 1.7593)
Luminance0.0405 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B421C #420B31
analogous
#16420B #0B421C #0B4237
triadic
#0B421C #1C0B42 #421C0B
tetradic
#0B421C #0B1642 #420B31 #42370B
square
#0B421C #0B1642 #420B31 #42370B
split-complementary
#0B421C #370B42 #420B16
monochromatic
#041A0B #041A0B #0B421C #147632 #1CAB49

Accessibility & contrast

On white

11.60
#0B421C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B421C
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B421C#FFFFFF#000000##FFFFFF
##0B421C1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b421c;
/* rgb */ color: rgb(11, 66, 28);
/* oklch */ color: oklch(33.4% 0.085 149.0);
Tailwind
colors: {
  custom: {
    50: '#547759',
    500: '#0b421c',
    950: '#000000',
  },
}
SCSS
$custom: #0b421c;
$custom-light: #547759;
$custom-dark: #000000;
JSON
{
  "hex": "#0b421c",
  "rgb": {
    "r": 11,
    "g": 66,
    "b": 28
  },
  "hsl": {
    "h": 138.545,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33432,
    "c": 0.08527,
    "h": 149
  },
  "luminance": 0.04051
}

Semantic roles & 50–950 ramp

primary
#0B421C
secondary
#7F2A65
accent
#3AB6EE
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0B421C

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

Preview Lab → · Contrast checker → · Palette generator →

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