#0F511B#0F511B

#0F511B is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.2% C 0.107 H 145.8°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#0F511B
RGBrgb(15, 81, 27)
HSLhsl(131, 69%, 19%)
HSVhsv(131, 81%, 32%)
CMYKcmyk(81.5%, 0%, 66.7%, 68.2%)
CIE-LABlab(29.58, -32.73, 25.53)
CIE-LCHlch(29.58, 41.51, 142.04°)
OKLaboklab(38.21% -0.0882 0.06)
OKLCHoklch(38.21% 0.107 145.8)
XYZxyz(3.3370, 6.0652, 2.0315)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F511B #510F45
analogous
#24510F #0F511B #0F513C
triadic
#0F511B #1B0F51 #511B0F
tetradic
#0F511B #0F2451 #510F45 #513C0F
square
#0F511B #0F2451 #510F45 #513C0F
split-complementary
#0F511B #3C0F51 #510F24
monochromatic
#051A09 #051D0A #0F511B #19852C #22B83D

Accessibility & contrast

On white

9.49
#0F511B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#0F511B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F511B
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F511B#FFFFFF#000000##FFFFFF
##0F511B1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524915
Deuteranopia (green-blind)
#4B4420
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0f511b;
/* rgb */ color: rgb(15, 81, 27);
/* oklch */ color: oklch(38.2% 0.107 145.8);
Tailwind
colors: {
  custom: {
    50: '#5a8359',
    500: '#0f511b',
    950: '#000000',
  },
}
SCSS
$custom: #0f511b;
$custom-light: #5a8359;
$custom-dark: #000000;
JSON
{
  "hex": "#0f511b",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 27
  },
  "hsl": {
    "h": 130.909,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38205,
    "c": 0.1067,
    "h": 145.8
  },
  "luminance": 0.06066
}

Semantic roles & 50–950 ramp

primary
#0F511B
secondary
#8B317B
accent
#3CCCEC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F511B

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

Preview Lab → · Contrast checker → · Palette generator →

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