#0B4018#0B4018

#0B4018 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.7% C 0.086 H 147.4°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#0B4018
RGBrgb(11, 64, 24)
HSLhsl(135, 71%, 15%)
HSVhsv(135, 83%, 25%)
CMYKcmyk(82.8%, 0%, 62.5%, 74.9%)
CIE-LABlab(23.01, -27.05, 19.47)
CIE-LCHlch(23.01, 33.33, 144.25°)
OKLaboklab(32.73% -0.0728 0.0466)
OKLCHoklch(32.73% 0.086 147.4)
XYZxyz(2.1361, 3.8036, 1.4856)
Luminance0.0380 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4018 #400B33
analogous
#19400B #0B4018 #0B4033
triadic
#0B4018 #180B40 #40180B
tetradic
#0B4018 #0B1940 #400B33 #40330B
square
#0B4018 #0B1940 #400B33 #40330B
split-complementary
#0B4018 #330B40 #400B19
monochromatic
#041A0A #041A0A #0B4018 #14742C #1DA83F

Accessibility & contrast

On white

11.93
#0B4018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#0B4018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4018
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4018#FFFFFF#000000##FFFFFF
##0B40181.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413914
Deuteranopia (green-blind)
#3B351B
Tritanopia (blue-blind)
#003E37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0b4018;
/* rgb */ color: rgb(11, 64, 24);
/* oklch */ color: oklch(32.7% 0.086 147.4);
Tailwind
colors: {
  custom: {
    50: '#547556',
    500: '#0b4018',
    950: '#000000',
  },
}
SCSS
$custom: #0b4018;
$custom-light: #547556;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4018",
  "rgb": {
    "r": 11,
    "g": 64,
    "b": 24
  },
  "hsl": {
    "h": 134.717,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32727,
    "c": 0.08644,
    "h": 147.4
  },
  "luminance": 0.03804
}

Semantic roles & 50–950 ramp

primary
#0B4018
secondary
#7D2A68
accent
#3AC2ED
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #0B4018

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

Preview Lab → · Contrast checker → · Palette generator →

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