#0B4E21#0B4E21

#0B4E21 is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.3% C 0.098 H 149.0°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#0B4E21
RGBrgb(11, 78, 33)
HSLhsl(140, 75%, 17%)
HSVhsv(140, 86%, 31%)
CMYKcmyk(85.9%, 0%, 57.7%, 69.4%)
CIE-LABlab(28.46, -31.25, 20.89)
CIE-LCHlch(28.46, 37.59, 146.24°)
OKLaboklab(37.28% -0.0839 0.0504)
OKLCHoklch(37.28% 0.098 149)
XYZxyz(3.1367, 5.6294, 2.3598)
Luminance0.0563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4E21 #4E0B38
analogous
#174E0B #0B4E21 #0B4E42
triadic
#0B4E21 #210B4E #4E210B
tetradic
#0B4E21 #0B174E #4E0B38 #4E420B
square
#0B4E21 #0B174E #4E0B38 #4E420B
split-complementary
#0B4E21 #420B4E #4E0B17
monochromatic
#041B0B #041B0B #0B4E21 #138438 #1AB94E

Accessibility & contrast

On white

9.88
#0B4E21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#0B4E21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4E21
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4E21#FFFFFF#000000##FFFFFF
##0B4E211.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F461D
Deuteranopia (green-blind)
#474124
Tritanopia (blue-blind)
#004C44
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0b4e21;
/* rgb */ color: rgb(11, 78, 33);
/* oklch */ color: oklch(37.3% 0.098 149.0);
Tailwind
colors: {
  custom: {
    50: '#58805d',
    500: '#0b4e21',
    950: '#000000',
  },
}
SCSS
$custom: #0b4e21;
$custom-light: #58805d;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4e21",
  "rgb": {
    "r": 11,
    "g": 78,
    "b": 33
  },
  "hsl": {
    "h": 139.701,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.3728,
    "c": 0.09788,
    "h": 149
  },
  "luminance": 0.0563
}

Semantic roles & 50–950 ramp

primary
#0B4E21
secondary
#8A2B6B
accent
#36B4F2
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0B4E21

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

Preview Lab → · Contrast checker → · Palette generator →

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