#0B4728#0B4728

#0B4728 is a dark, moderate green. Relative luminance 0.047; OKLCH L 35.2% C 0.080 H 155.1°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#0B4728
RGBrgb(11, 71, 40)
HSLhsl(149, 73%, 16%)
HSVhsv(149, 85%, 28%)
CMYKcmyk(84.5%, 0%, 43.7%, 72.2%)
CIE-LABlab(25.95, -26.89, 13.48)
CIE-LCHlch(25.95, 30.08, 153.37°)
OKLaboklab(35.25% -0.0725 0.0336)
OKLCHoklch(35.25% 0.08 155.1)
XYZxyz(2.7740, 4.7305, 2.7740)
Luminance0.0473 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4728 #470B2A
analogous
#0C470B #0B4728 #0B4746
triadic
#0B4728 #280B47 #47280B
tetradic
#0B4728 #0B0C47 #470B2A #47460B
square
#0B4728 #0B0C47 #470B2A #47460B
split-complementary
#0B4728 #460B47 #470B0C
monochromatic
#041A0F #041A0F #0B4728 #137C46 #1BB164

Accessibility & contrast

On white

10.79
#0B4728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#0B4728 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4728
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4728#FFFFFF#000000##FFFFFF
##0B47281.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474026
Deuteranopia (green-blind)
#403B2A
Tritanopia (blue-blind)
#00463F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0b4728;
/* rgb */ color: rgb(11, 71, 40);
/* oklch */ color: oklch(35.2% 0.080 155.1);
Tailwind
colors: {
  custom: {
    50: '#557b62',
    500: '#0b4728',
    950: '#000000',
  },
}
SCSS
$custom: #0b4728;
$custom-light: #557b62;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4728",
  "rgb": {
    "r": 11,
    "g": 71,
    "b": 40
  },
  "hsl": {
    "h": 149,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35248,
    "c": 0.07993,
    "h": 155.1
  },
  "luminance": 0.04731
}

Semantic roles & 50–950 ramp

primary
#0B4728
secondary
#832A58
accent
#3897F0
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#030905
muted
#787B79

Preview Lab

Preview with #0B4728

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

Preview Lab → · Contrast checker → · Palette generator →

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