#0B4828#0B4828

#0B4828 is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.6% C 0.081 H 154.7°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#0B4828
RGBrgb(11, 72, 40)
HSLhsl(149, 73%, 16%)
HSVhsv(149, 85%, 28%)
CMYKcmyk(84.7%, 0%, 44.4%, 71.8%)
CIE-LABlab(26.33, -27.33, 13.98)
CIE-LCHlch(26.33, 30.70, 152.91°)
OKLaboklab(35.56% -0.0737 0.0348)
OKLCHoklch(35.56% 0.081 154.7)
XYZxyz(2.8381, 4.8587, 2.7953)
Luminance0.0486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4828 #480B2B
analogous
#0C480B #0B4828 #0B4847
triadic
#0B4828 #280B48 #48280B
tetradic
#0B4828 #0B0C48 #480B2B #48470B
square
#0B4828 #0B0C48 #480B2B #48470B
split-complementary
#0B4828 #470B48 #480B0C
monochromatic
#041B0F #041B0F #0B4828 #137D45 #1BB263

Accessibility & contrast

On white

10.65
#0B4828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#0B4828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4828
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4828#FFFFFF#000000##FFFFFF
##0B48281.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484126
Deuteranopia (green-blind)
#413C2A
Tritanopia (blue-blind)
#004740
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0b4828;
/* rgb */ color: rgb(11, 72, 40);
/* oklch */ color: oklch(35.6% 0.081 154.7);
Tailwind
colors: {
  custom: {
    50: '#567c62',
    500: '#0b4828',
    950: '#000000',
  },
}
SCSS
$custom: #0b4828;
$custom-light: #567c62;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4828",
  "rgb": {
    "r": 11,
    "g": 72,
    "b": 40
  },
  "hsl": {
    "h": 148.525,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35558,
    "c": 0.08147,
    "h": 154.7
  },
  "luminance": 0.04859
}

Semantic roles & 50–950 ramp

primary
#0B4828
secondary
#842A5A
accent
#3898F0
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#030905
muted
#787B79

Preview Lab

Preview with #0B4828

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

Preview Lab → · Contrast checker → · Palette generator →

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