#0B4A0C#0B4A0C

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

Color values

HEX#0B4A0C
RGBrgb(11, 74, 12)
HSLhsl(121, 74%, 17%)
HSVhsv(121, 85%, 29%)
CMYKcmyk(85.1%, 0%, 83.8%, 71%)
CIE-LABlab(26.72, -32.47, 29.50)
CIE-LCHlch(26.72, 43.86, 137.75°)
OKLaboklab(35.77% -0.0881 0.0664)
OKLCHoklch(35.77% 0.11 143)
XYZxyz(2.6530, 4.9949, 1.1721)
Luminance0.0500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4A0C #4A0B49
analogous
#2A4A0B #0B4A0C #0B4A2C
triadic
#0B4A0C #0C0B4A #4A0C0B
tetradic
#0B4A0C #0B2A4A #4A0B49 #4A2C0B
square
#0B4A0C #0B2A4A #4A0B49 #4A2C0B
split-complementary
#0B4A0C #2C0B4A #4A0B2A
monochromatic
#041B04 #041B04 #0B4A0C #137F15 #1BB51D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0B4A0C#FFFFFF#000000##FFFFFF
##0B4A0C1.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)
#4C4202
Deuteranopia (green-blind)
#453D13
Tritanopia (blue-blind)
#00483E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0b4a0c;
/* rgb */ color: rgb(11, 74, 12);
/* oklch */ color: oklch(35.8% 0.110 143.0);
Tailwind
colors: {
  custom: {
    50: '#587d50',
    500: '#0b4a0c',
    950: '#000000',
  },
}
SCSS
$custom: #0b4a0c;
$custom-light: #587d50;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4a0c",
  "rgb": {
    "r": 11,
    "g": 74,
    "b": 12
  },
  "hsl": {
    "h": 120.952,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35765,
    "c": 0.1103,
    "h": 143
  },
  "luminance": 0.04995
}

Semantic roles & 50–950 ramp

primary
#0B4A0C
secondary
#862B85
accent
#37EEF1
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0B4A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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