#0B5626#0B5626

#0B5626 is a dark, moderate green. Relative luminance 0.069; OKLCH L 39.8% C 0.104 H 149.7°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#0B5626
RGBrgb(11, 86, 38)
HSLhsl(142, 77%, 19%)
HSVhsv(142, 87%, 34%)
CMYKcmyk(87.2%, 0%, 55.8%, 66.3%)
CIE-LABlab(31.50, -33.54, 21.78)
CIE-LCHlch(31.50, 39.99, 147.01°)
OKLaboklab(39.83% -0.09 0.0527)
OKLCHoklch(39.83% 0.104 149.7)
XYZxyz(3.8153, 6.8662, 2.9576)
Luminance0.0687 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B5626 #560B3B
analogous
#16560B #0B5626 #0B564C
triadic
#0B5626 #260B56 #56260B
tetradic
#0B5626 #0B1656 #560B3B #564C0B
square
#0B5626 #0B1656 #560B3B #564C0B
split-complementary
#0B5626 #4C0B56 #560B16
monochromatic
#031B0C #04200E #0B5626 #128C3E #19C356

Accessibility & contrast

On white

8.85
#0B5626 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#0B5626 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B5626
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B5626#FFFFFF#000000##FFFFFF
##0B56261.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E22
Deuteranopia (green-blind)
#4E482A
Tritanopia (blue-blind)
#00544B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0b5626;
/* rgb */ color: rgb(11, 86, 38);
/* oklch */ color: oklch(39.8% 0.104 149.7);
Tailwind
colors: {
  custom: {
    50: '#5a8661',
    500: '#0b5626',
    950: '#000000',
  },
}
SCSS
$custom: #0b5626;
$custom-light: #5a8661;
$custom-dark: #000000;
JSON
{
  "hex": "#0b5626",
  "rgb": {
    "r": 11,
    "g": 86,
    "b": 38
  },
  "hsl": {
    "h": 141.6,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39826,
    "c": 0.1043,
    "h": 149.7
  },
  "luminance": 0.06867
}

Semantic roles & 50–950 ramp

primary
#0B5626
secondary
#912B6D
accent
#34AFF4
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0B5626

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

Preview Lab → · Contrast checker → · Palette generator →

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