#0B4F0D#0B4F0D

#0B4F0D is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.3% C 0.116 H 143.1°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#0B4F0D
RGBrgb(11, 79, 13)
HSLhsl(122, 76%, 18%)
HSVhsv(122, 86%, 31%)
CMYKcmyk(86.1%, 0%, 83.5%, 69%)
CIE-LABlab(28.62, -34.21, 30.98)
CIE-LCHlch(28.62, 46.15, 137.83°)
OKLaboklab(37.35% -0.0927 0.0696)
OKLCHoklch(37.35% 0.116 143.1)
XYZxyz(3.0064, 5.6918, 1.3209)
Luminance0.0569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4F0D #4F0B4D
analogous
#2B4F0B #0B4F0D #0B4F2F
triadic
#0B4F0D #0D0B4F #4F0D0B
tetradic
#0B4F0D #0B2B4F #4F0B4D #4F2F0B
square
#0B4F0D #0B2B4F #4F0B4D #4F2F0B
split-complementary
#0B4F0D #2F0B4F #4F0B2B
monochromatic
#041B04 #041B04 #0B4F0D #128516 #1ABA1F

Accessibility & contrast

On white

9.82
#0B4F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#0B4F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4F0D
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4F0D#FFFFFF#000000##FFFFFF
##0B4F0D1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514702
Deuteranopia (green-blind)
#4A4214
Tritanopia (blue-blind)
#004C42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0b4f0d;
/* rgb */ color: rgb(11, 79, 13);
/* oklch */ color: oklch(37.3% 0.116 143.1);
Tailwind
colors: {
  custom: {
    50: '#598151',
    500: '#0b4f0d',
    950: '#000000',
  },
}
SCSS
$custom: #0b4f0d;
$custom-light: #598151;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4f0d",
  "rgb": {
    "r": 11,
    "g": 79,
    "b": 13
  },
  "hsl": {
    "h": 121.765,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37348,
    "c": 0.11597,
    "h": 143.1
  },
  "luminance": 0.05692
}

Semantic roles & 50–950 ramp

primary
#0B4F0D
secondary
#8B2B88
accent
#36EDF2
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0B4F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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