#0B4F18#0B4F18

#0B4F18 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.5% C 0.108 H 145.6°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#0B4F18
RGBrgb(11, 79, 24)
HSLhsl(131, 76%, 18%)
HSVhsv(131, 86%, 31%)
CMYKcmyk(86.1%, 0%, 69.6%, 69%)
CIE-LABlab(28.72, -33.02, 26.09)
CIE-LCHlch(28.72, 42.08, 141.69°)
OKLaboklab(37.46% -0.089 0.0609)
OKLCHoklch(37.46% 0.108 145.6)
XYZxyz(3.0986, 5.7287, 1.8064)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4F18 #4F0B42
analogous
#204F0B #0B4F18 #0B4F3A
triadic
#0B4F18 #180B4F #4F180B
tetradic
#0B4F18 #0B204F #4F0B42 #4F3A0B
square
#0B4F18 #0B204F #4F0B42 #4F3A0B
split-complementary
#0B4F18 #3A0B4F #4F0B20
monochromatic
#041B08 #041B08 #0B4F18 #128528 #1ABA39

Accessibility & contrast

On white

9.79
#0B4F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#0B4F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4F18
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4F18#FFFFFF#000000##FFFFFF
##0B4F181.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504712
Deuteranopia (green-blind)
#49421D
Tritanopia (blue-blind)
#004D43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0b4f18;
/* rgb */ color: rgb(11, 79, 24);
/* oklch */ color: oklch(37.5% 0.108 145.6);
Tailwind
colors: {
  custom: {
    50: '#588157',
    500: '#0b4f18',
    950: '#000000',
  },
}
SCSS
$custom: #0b4f18;
$custom-light: #588157;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4f18",
  "rgb": {
    "r": 11,
    "g": 79,
    "b": 24
  },
  "hsl": {
    "h": 131.471,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37459,
    "c": 0.10781,
    "h": 145.6
  },
  "luminance": 0.05729
}

Semantic roles & 50–950 ramp

primary
#0B4F18
secondary
#8B2B79
accent
#36CEF2
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0B4F18

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

Preview Lab → · Contrast checker → · Palette generator →

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