#0B421F#0B421F

#0B421F is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.5% C 0.082 H 150.8°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#0B421F
RGBrgb(11, 66, 31)
HSLhsl(142, 71%, 15%)
HSVhsv(142, 83%, 26%)
CMYKcmyk(83.3%, 0%, 53%, 74.1%)
CIE-LABlab(23.89, -26.62, 16.38)
CIE-LCHlch(23.89, 31.25, 148.40°)
OKLaboklab(33.49% -0.0716 0.0401)
OKLCHoklch(33.49% 0.082 150.8)
XYZxyz(2.3334, 4.0662, 1.9579)
Luminance0.0407 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B421F #420B2E
analogous
#12420B #0B421F #0B423A
triadic
#0B421F #1F0B42 #421F0B
tetradic
#0B421F #0B1242 #420B2E #423A0B
square
#0B421F #0B1242 #420B2E #423A0B
split-complementary
#0B421F #3A0B42 #420B12
monochromatic
#041A0C #041A0C #0B421F #147638 #1CAB50

Accessibility & contrast

On white

11.58
#0B421F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B421F
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B421F#FFFFFF#000000##FFFFFF
##0B421F1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C1C
Deuteranopia (green-blind)
#3C3721
Tritanopia (blue-blind)
#00413A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0b421f;
/* rgb */ color: rgb(11, 66, 31);
/* oklch */ color: oklch(33.5% 0.082 150.8);
Tailwind
colors: {
  custom: {
    50: '#54775b',
    500: '#0b421f',
    950: '#000000',
  },
}
SCSS
$custom: #0b421f;
$custom-light: #54775b;
$custom-dark: #000000;
JSON
{
  "hex": "#0b421f",
  "rgb": {
    "r": 11,
    "g": 66,
    "b": 31
  },
  "hsl": {
    "h": 141.818,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33489,
    "c": 0.08204,
    "h": 150.8
  },
  "luminance": 0.04067
}

Semantic roles & 50–950 ramp

primary
#0B421F
secondary
#7F2A60
accent
#3AADEE
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0B421F

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

Preview Lab → · Contrast checker → · Palette generator →

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