#0F511D#0F511D

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

Color values

HEX#0F511D
RGBrgb(15, 81, 29)
HSLhsl(133, 69%, 19%)
HSVhsv(133, 81%, 32%)
CMYKcmyk(81.5%, 0%, 64.2%, 68.2%)
CIE-LABlab(29.60, -32.44, 24.50)
CIE-LCHlch(29.60, 40.65, 142.94°)
OKLaboklab(38.23% -0.0874 0.058)
OKLCHoklch(38.23% 0.105 146.4)
XYZxyz(3.3610, 6.0747, 2.1576)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F511D #510F43
analogous
#22510F #0F511D #0F513E
triadic
#0F511D #1D0F51 #511D0F
tetradic
#0F511D #0F2251 #510F43 #513E0F
square
#0F511D #0F2251 #510F43 #513E0F
split-complementary
#0F511D #3E0F51 #510F22
monochromatic
#051A09 #051D0B #0F511D #19852F #22B842

Accessibility & contrast

On white

9.48
#0F511D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#0F511D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F511D
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F511D#FFFFFF#000000##FFFFFF
##0F511D1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524918
Deuteranopia (green-blind)
#4B4421
Tritanopia (blue-blind)
#004F46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0f511d;
/* rgb */ color: rgb(15, 81, 29);
/* oklch */ color: oklch(38.2% 0.105 146.4);
Tailwind
colors: {
  custom: {
    50: '#5a835b',
    500: '#0f511d',
    950: '#000000',
  },
}
SCSS
$custom: #0f511d;
$custom-light: #5a835b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f511d",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 29
  },
  "hsl": {
    "h": 132.727,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38232,
    "c": 0.10486,
    "h": 146.4
  },
  "luminance": 0.06075
}

Semantic roles & 50–950 ramp

primary
#0F511D
secondary
#8B3178
accent
#3CC6EC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F511D

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

Preview Lab → · Contrast checker → · Palette generator →

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