#0B4F15#0B4F15

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

Color values

HEX#0B4F15
RGBrgb(11, 79, 21)
HSLhsl(129, 76%, 18%)
HSVhsv(129, 86%, 31%)
CMYKcmyk(86.1%, 0%, 73.4%, 69%)
CIE-LABlab(28.69, -33.40, 27.54)
CIE-LCHlch(28.69, 43.29, 140.49°)
OKLaboklab(37.42% -0.0901 0.0636)
OKLCHoklch(37.42% 0.11 144.8)
XYZxyz(3.0691, 5.7169, 1.6510)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4F15 #4F0B45
analogous
#234F0B #0B4F15 #0B4F37
triadic
#0B4F15 #150B4F #4F150B
tetradic
#0B4F15 #0B234F #4F0B45 #4F370B
square
#0B4F15 #0B234F #4F0B45 #4F370B
split-complementary
#0B4F15 #370B4F #4F0B23
monochromatic
#041B07 #041B07 #0B4F15 #128523 #1ABA32

Accessibility & contrast

On white

9.80
#0B4F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#0B4F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4F15
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4F15#FFFFFF#000000##FFFFFF
##0B4F151.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51470D
Deuteranopia (green-blind)
#49421A
Tritanopia (blue-blind)
#004D43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0b4f15;
/* rgb */ color: rgb(11, 79, 21);
/* oklch */ color: oklch(37.4% 0.110 144.8);
Tailwind
colors: {
  custom: {
    50: '#588155',
    500: '#0b4f15',
    950: '#000000',
  },
}
SCSS
$custom: #0b4f15;
$custom-light: #588155;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4f15",
  "rgb": {
    "r": 11,
    "g": 79,
    "b": 21
  },
  "hsl": {
    "h": 128.824,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37423,
    "c": 0.11031,
    "h": 144.8
  },
  "luminance": 0.05717
}

Semantic roles & 50–950 ramp

primary
#0B4F15
secondary
#8B2B7D
accent
#36D6F2
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0B4F15

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

Preview Lab → · Contrast checker → · Palette generator →

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