#0B4D1F#0B4D1F

#0B4D1F is a dark, moderate green. Relative luminance 0.055; OKLCH L 36.9% C 0.098 H 148.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#0B4D1F
RGBrgb(11, 77, 31)
HSLhsl(138, 75%, 17%)
HSVhsv(138, 86%, 30%)
CMYKcmyk(85.7%, 0%, 59.7%, 69.8%)
CIE-LABlab(28.05, -31.19, 21.54)
CIE-LCHlch(28.05, 37.91, 145.37°)
OKLaboklab(36.94% -0.0838 0.0517)
OKLCHoklch(36.94% 0.098 148.4)
XYZxyz(3.0390, 5.4775, 2.1932)
Luminance0.0548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4D1F #4D0B39
analogous
#184D0B #0B4D1F #0B4D40
triadic
#0B4D1F #1F0B4D #4D1F0B
tetradic
#0B4D1F #0B184D #4D0B39 #4D400B
square
#0B4D1F #0B184D #4D0B39 #4D400B
split-complementary
#0B4D1F #400B4D #4D0B18
monochromatic
#041B0B #041B0B #0B4D1F #138335 #1AB84A

Accessibility & contrast

On white

10.02
#0B4D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#0B4D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4D1F
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4D1F#FFFFFF#000000##FFFFFF
##0B4D1F1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E451B
Deuteranopia (green-blind)
#464023
Tritanopia (blue-blind)
#004B43
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0b4d1f;
/* rgb */ color: rgb(11, 77, 31);
/* oklch */ color: oklch(36.9% 0.098 148.4);
Tailwind
colors: {
  custom: {
    50: '#57805c',
    500: '#0b4d1f',
    950: '#000000',
  },
}
SCSS
$custom: #0b4d1f;
$custom-light: #57805c;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4d1f",
  "rgb": {
    "r": 11,
    "g": 77,
    "b": 31
  },
  "hsl": {
    "h": 138.182,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36936,
    "c": 0.09846,
    "h": 148.4
  },
  "luminance": 0.05478
}

Semantic roles & 50–950 ramp

primary
#0B4D1F
secondary
#892B6C
accent
#36B9F2
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0B4D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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