#0B4C0F#0B4C0F

#0B4C0F is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.4% C 0.111 H 143.5°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#0B4C0F
RGBrgb(11, 76, 15)
HSLhsl(124, 75%, 17%)
HSVhsv(124, 86%, 30%)
CMYKcmyk(85.5%, 0%, 80.3%, 70.2%)
CIE-LABlab(27.50, -32.93, 29.04)
CIE-LCHlch(27.50, 43.90, 138.59°)
OKLaboklab(36.42% -0.0892 0.0659)
OKLCHoklch(36.42% 0.111 143.5)
XYZxyz(2.8085, 5.2742, 1.3218)
Luminance0.0527 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4C0F #4C0B48
analogous
#284C0B #0B4C0F #0B4C30
triadic
#0B4C0F #0F0B4C #4C0F0B
tetradic
#0B4C0F #0B284C #4C0B48 #4C300B
square
#0B4C0F #0B284C #4C0B48 #4C300B
split-complementary
#0B4C0F #300B4C #4C0B28
monochromatic
#041B05 #041B05 #0B4C0F #13811A #1AB724

Accessibility & contrast

On white

10.22
#0B4C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#0B4C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4C0F
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4C0F#FFFFFF#000000##FFFFFF
##0B4C0F1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4405
Deuteranopia (green-blind)
#473F15
Tritanopia (blue-blind)
#004A40
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0b4c0f;
/* rgb */ color: rgb(11, 76, 15);
/* oklch */ color: oklch(36.4% 0.111 143.5);
Tailwind
colors: {
  custom: {
    50: '#587f52',
    500: '#0b4c0f',
    950: '#000000',
  },
}
SCSS
$custom: #0b4c0f;
$custom-light: #587f52;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4c0f",
  "rgb": {
    "r": 11,
    "g": 76,
    "b": 15
  },
  "hsl": {
    "h": 123.692,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36422,
    "c": 0.11088,
    "h": 143.5
  },
  "luminance": 0.05275
}

Semantic roles & 50–950 ramp

primary
#0B4C0F
secondary
#882B82
accent
#36E6F1
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0B4C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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