#0F511A#0F511A

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

Color values

HEX#0F511A
RGBrgb(15, 81, 26)
HSLhsl(130, 69%, 19%)
HSVhsv(130, 81%, 32%)
CMYKcmyk(81.5%, 0%, 67.9%, 68.2%)
CIE-LABlab(29.56, -32.86, 26.04)
CIE-LCHlch(29.56, 41.93, 141.61°)
OKLaboklab(38.19% -0.0887 0.061)
OKLCHoklch(38.19% 0.108 145.5)
XYZxyz(3.3257, 6.0606, 1.9716)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F511A #510F46
analogous
#25510F #0F511A #0F513B
triadic
#0F511A #1A0F51 #511A0F
tetradic
#0F511A #0F2551 #510F46 #513B0F
square
#0F511A #0F2551 #510F46 #513B0F
split-complementary
#0F511A #3B0F51 #510F25
monochromatic
#051A08 #051D09 #0F511A #19852B #22B83B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F511A#FFFFFF#000000##FFFFFF
##0F511A1.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)
#524914
Deuteranopia (green-blind)
#4B441F
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0f511a;
/* rgb */ color: rgb(15, 81, 26);
/* oklch */ color: oklch(38.2% 0.108 145.5);
Tailwind
colors: {
  custom: {
    50: '#5a8359',
    500: '#0f511a',
    950: '#000000',
  },
}
SCSS
$custom: #0f511a;
$custom-light: #5a8359;
$custom-dark: #000000;
JSON
{
  "hex": "#0f511a",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 26
  },
  "hsl": {
    "h": 130,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38191,
    "c": 0.10759,
    "h": 145.5
  },
  "luminance": 0.06061
}

Semantic roles & 50–950 ramp

primary
#0F511A
secondary
#8B317C
accent
#3CCEEC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F511A

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

Preview Lab → · Contrast checker → · Palette generator →

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