#0B4F17#0B4F17

#0B4F17 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.4% C 0.109 H 145.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#0B4F17
RGBrgb(11, 79, 23)
HSLhsl(131, 76%, 18%)
HSVhsv(131, 86%, 31%)
CMYKcmyk(86.1%, 0%, 70.9%, 69%)
CIE-LABlab(28.71, -33.15, 26.58)
CIE-LCHlch(28.71, 42.49, 141.27°)
OKLaboklab(37.45% -0.0894 0.0618)
OKLCHoklch(37.45% 0.109 145.3)
XYZxyz(3.0884, 5.7246, 1.7526)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4F17 #4F0B43
analogous
#214F0B #0B4F17 #0B4F39
triadic
#0B4F17 #170B4F #4F170B
tetradic
#0B4F17 #0B214F #4F0B43 #4F390B
square
#0B4F17 #0B214F #4F0B43 #4F390B
split-complementary
#0B4F17 #390B4F #4F0B21
monochromatic
#041B08 #041B08 #0B4F17 #128527 #1ABA36

Accessibility & contrast

On white

9.79
#0B4F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#0B4F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4F17
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4F17#FFFFFF#000000##FFFFFF
##0B4F171.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504710
Deuteranopia (green-blind)
#49421C
Tritanopia (blue-blind)
#004D43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0b4f17;
/* rgb */ color: rgb(11, 79, 23);
/* oklch */ color: oklch(37.4% 0.109 145.3);
Tailwind
colors: {
  custom: {
    50: '#588157',
    500: '#0b4f17',
    950: '#000000',
  },
}
SCSS
$custom: #0b4f17;
$custom-light: #588157;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4f17",
  "rgb": {
    "r": 11,
    "g": 79,
    "b": 23
  },
  "hsl": {
    "h": 130.588,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37446,
    "c": 0.10866,
    "h": 145.3
  },
  "luminance": 0.05725
}

Semantic roles & 50–950 ramp

primary
#0B4F17
secondary
#8B2B7A
accent
#36D1F2
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0B4F17

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

Preview Lab → · Contrast checker → · Palette generator →

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