#0F511F#0F511F

#0F511F is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.3% C 0.103 H 147.2°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#0F511F
RGBrgb(15, 81, 31)
HSLhsl(135, 69%, 19%)
HSVhsv(135, 81%, 32%)
CMYKcmyk(81.5%, 0%, 61.7%, 68.2%)
CIE-LABlab(29.63, -32.13, 23.44)
CIE-LCHlch(29.63, 39.78, 143.89°)
OKLaboklab(38.26% -0.0865 0.0558)
OKLCHoklch(38.26% 0.103 147.2)
XYZxyz(3.3865, 6.0850, 2.2921)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F511F #510F41
analogous
#20510F #0F511F #0F5140
triadic
#0F511F #1F0F51 #511F0F
tetradic
#0F511F #0F2051 #510F41 #51400F
square
#0F511F #0F2051 #510F41 #51400F
split-complementary
#0F511F #400F51 #510F20
monochromatic
#051A0A #051D0B #0F511F #198533 #22B847

Accessibility & contrast

On white

9.47
#0F511F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F511F
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F511F#FFFFFF#000000##FFFFFF
##0F511F1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491A
Deuteranopia (green-blind)
#4B4423
Tritanopia (blue-blind)
#004F46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0f511f;
/* rgb */ color: rgb(15, 81, 31);
/* oklch */ color: oklch(38.3% 0.103 147.2);
Tailwind
colors: {
  custom: {
    50: '#5a835c',
    500: '#0f511f',
    950: '#000000',
  },
}
SCSS
$custom: #0f511f;
$custom-light: #5a835c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f511f",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 31
  },
  "hsl": {
    "h": 134.545,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38262,
    "c": 0.10295,
    "h": 147.2
  },
  "luminance": 0.06085
}

Semantic roles & 50–950 ramp

primary
#0F511F
secondary
#8B3175
accent
#3CC1EC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F511F

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

Preview Lab → · Contrast checker → · Palette generator →

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