#0F511C#0F511C

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

Color values

HEX#0F511C
RGBrgb(15, 81, 28)
HSLhsl(132, 69%, 19%)
HSVhsv(132, 81%, 32%)
CMYKcmyk(81.5%, 0%, 65.4%, 68.2%)
CIE-LABlab(29.59, -32.59, 25.02)
CIE-LCHlch(29.59, 41.08, 142.48°)
OKLaboklab(38.22% -0.0878 0.059)
OKLCHoklch(38.22% 0.106 146.1)
XYZxyz(3.3488, 6.0699, 2.0935)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F511C #510F44
analogous
#23510F #0F511C #0F513D
triadic
#0F511C #1C0F51 #511C0F
tetradic
#0F511C #0F2351 #510F44 #513D0F
square
#0F511C #0F2351 #510F44 #513D0F
split-complementary
#0F511C #3D0F51 #510F23
monochromatic
#051A09 #051D0A #0F511C #19852E #22B840

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F511C#FFFFFF#000000##FFFFFF
##0F511C1.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)
#524916
Deuteranopia (green-blind)
#4B4420
Tritanopia (blue-blind)
#004F46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0f511c;
/* rgb */ color: rgb(15, 81, 28);
/* oklch */ color: oklch(38.2% 0.106 146.1);
Tailwind
colors: {
  custom: {
    50: '#5a835a',
    500: '#0f511c',
    950: '#000000',
  },
}
SCSS
$custom: #0f511c;
$custom-light: #5a835a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f511c",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 28
  },
  "hsl": {
    "h": 131.818,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38218,
    "c": 0.10579,
    "h": 146.1
  },
  "luminance": 0.0607
}

Semantic roles & 50–950 ramp

primary
#0F511C
secondary
#8B3179
accent
#3CC9EC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F511C

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

Preview Lab → · Contrast checker → · Palette generator →

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