#0B562F#0B562F

#0B562F is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.0% C 0.095 H 154.2°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#0B562F
RGBrgb(11, 86, 47)
HSLhsl(149, 77%, 19%)
HSVhsv(149, 87%, 34%)
CMYKcmyk(87.2%, 0%, 45.3%, 66.3%)
CIE-LABlab(31.65, -31.78, 16.70)
CIE-LCHlch(31.65, 35.90, 152.28°)
OKLaboklab(40% -0.0855 0.0414)
OKLCHoklch(40% 0.095 154.2)
XYZxyz(3.9785, 6.9315, 3.8170)
Luminance0.0693 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B562F #560B32
analogous
#0D560B #0B562F #0B5655
triadic
#0B562F #2F0B56 #562F0B
tetradic
#0B562F #0B0D56 #560B32 #56550B
square
#0B562F #0B0D56 #560B32 #56550B
split-complementary
#0B562F #550B56 #560B0D
monochromatic
#031B0F #042011 #0B562F #128C4D #19C36A

Accessibility & contrast

On white

8.80
#0B562F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#0B562F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B562F
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B562F#FFFFFF#000000##FFFFFF
##0B562F1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E2C
Deuteranopia (green-blind)
#4D4832
Tritanopia (blue-blind)
#00554C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0b562f;
/* rgb */ color: rgb(11, 86, 47);
/* oklch */ color: oklch(40.0% 0.095 154.2);
Tailwind
colors: {
  custom: {
    50: '#5a8668',
    500: '#0b562f',
    950: '#000000',
  },
}
SCSS
$custom: #0b562f;
$custom-light: #5a8668;
$custom-dark: #000000;
JSON
{
  "hex": "#0b562f",
  "rgb": {
    "r": 11,
    "g": 86,
    "b": 47
  },
  "hsl": {
    "h": 148.8,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39999,
    "c": 0.095,
    "h": 154.2
  },
  "luminance": 0.06932
}

Semantic roles & 50–950 ramp

primary
#0B562F
secondary
#912B60
accent
#3498F4
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #0B562F

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

Preview Lab → · Contrast checker → · Palette generator →

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