#0B4A0B#0B4A0B

#0B4A0B is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.8% C 0.111 H 142.8°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#0B4A0B
RGBrgb(11, 74, 11)
HSLhsl(120, 74%, 17%)
HSVhsv(120, 85%, 29%)
CMYKcmyk(85.1%, 0%, 85.1%, 71%)
CIE-LABlab(26.71, -32.55, 29.88)
CIE-LCHlch(26.71, 44.19, 137.45°)
OKLaboklab(35.76% -0.0884 0.067)
OKLCHoklch(35.76% 0.111 142.8)
XYZxyz(2.6470, 4.9926, 1.1407)
Luminance0.0499 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4A0B #4A0B4A
analogous
#2B4A0B #0B4A0B #0B4A2B
triadic
#0B4A0B #0B0B4A #4A0B0B
tetradic
#0B4A0B #0B2B4A #4A0B4A #4A2B0B
square
#0B4A0B #0B2B4A #4A0B4A #4A2B0B
split-complementary
#0B4A0B #2B0B4A #4A0B2B
monochromatic
#041B04 #041B04 #0B4A0B #137F13 #1BB51B

Accessibility & contrast

On white

10.51
#0B4A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#0B4A0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4A0B
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4A0B#FFFFFF#000000##FFFFFF
##0B4A0B1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4201
Deuteranopia (green-blind)
#453D12
Tritanopia (blue-blind)
#00483E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0b4a0b;
/* rgb */ color: rgb(11, 74, 11);
/* oklch */ color: oklch(35.8% 0.111 142.8);
Tailwind
colors: {
  custom: {
    50: '#587d4f',
    500: '#0b4a0b',
    950: '#000000',
  },
}
SCSS
$custom: #0b4a0b;
$custom-light: #587d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4a0b",
  "rgb": {
    "r": 11,
    "g": 74,
    "b": 11
  },
  "hsl": {
    "h": 120,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35757,
    "c": 0.11091,
    "h": 142.8
  },
  "luminance": 0.04993
}

Semantic roles & 50–950 ramp

primary
#0B4A0B
secondary
#862B86
accent
#37F1F1
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0B4A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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