#0B4A1E#0B4A1E

#0B4A1E is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.0% C 0.095 H 148.4°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#0B4A1E
RGBrgb(11, 74, 30)
HSLhsl(138, 74%, 17%)
HSVhsv(138, 85%, 29%)
CMYKcmyk(85.1%, 0%, 59.5%, 71%)
CIE-LABlab(26.91, -30.16, 20.72)
CIE-LCHlch(26.91, 36.59, 145.50°)
OKLaboklab(35.99% -0.081 0.0498)
OKLCHoklch(35.99% 0.095 148.4)
XYZxyz(2.8209, 5.0621, 2.0565)
Luminance0.0506 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4A1E #4A0B37
analogous
#184A0B #0B4A1E #0B4A3E
triadic
#0B4A1E #1E0B4A #4A1E0B
tetradic
#0B4A1E #0B184A #4A0B37 #4A3E0B
square
#0B4A1E #0B184A #4A0B37 #4A3E0B
split-complementary
#0B4A1E #3E0B4A #4A0B18
monochromatic
#041B0B #041B0B #0B4A1E #137F34 #1BB549

Accessibility & contrast

On white

10.44
#0B4A1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#0B4A1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4A1E
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4A1E#FFFFFF#000000##FFFFFF
##0B4A1E1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B431A
Deuteranopia (green-blind)
#443E21
Tritanopia (blue-blind)
#004840
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0b4a1e;
/* rgb */ color: rgb(11, 74, 30);
/* oklch */ color: oklch(36.0% 0.095 148.4);
Tailwind
colors: {
  custom: {
    50: '#567d5b',
    500: '#0b4a1e',
    950: '#000000',
  },
}
SCSS
$custom: #0b4a1e;
$custom-light: #567d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4a1e",
  "rgb": {
    "r": 11,
    "g": 74,
    "b": 30
  },
  "hsl": {
    "h": 138.095,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35985,
    "c": 0.09512,
    "h": 148.4
  },
  "luminance": 0.05062
}

Semantic roles & 50–950 ramp

primary
#0B4A1E
secondary
#862B6B
accent
#37B9F1
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030A04
muted
#787C79

Preview Lab

Preview with #0B4A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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