#0F520D#0F520D

#0F520D is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.4% C 0.119 H 142.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#0F520D
RGBrgb(15, 82, 13)
HSLhsl(118, 73%, 19%)
HSVhsv(118, 84%, 32%)
CMYKcmyk(81.7%, 0%, 84.1%, 67.8%)
CIE-LABlab(29.82, -34.62, 32.18)
CIE-LCHlch(29.82, 47.27, 137.09°)
OKLaboklab(38.37% -0.0941 0.0721)
OKLCHoklch(38.37% 0.119 142.5)
XYZxyz(3.2867, 6.1648, 1.3974)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F520D #500D52
analogous
#31520D #0F520D #0D522D
triadic
#0F520D #0D0F52 #520D0F
tetradic
#0F520D #0D3152 #500D52 #522D0D
square
#0F520D #0D3152 #500D52 #522D0D
split-complementary
#0F520D #2D0D52 #520D31
monochromatic
#051A04 #051D05 #0F520D #198715 #22BC1E

Accessibility & contrast

On white

9.40
#0F520D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#0F520D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F520D
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F520D#FFFFFF#000000##FFFFFF
##0F520D1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f520d;
/* rgb */ color: rgb(15, 82, 13);
/* oklch */ color: oklch(38.4% 0.119 142.5);
Tailwind
colors: {
  custom: {
    50: '#5b8352',
    500: '#0f520d',
    950: '#000000',
  },
}
SCSS
$custom: #0f520d;
$custom-light: #5b8352;
$custom-dark: #000000;
JSON
{
  "hex": "#0f520d",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 13
  },
  "hsl": {
    "h": 118.261,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38371,
    "c": 0.11855,
    "h": 142.5
  },
  "luminance": 0.06165
}

Semantic roles & 50–950 ramp

primary
#0F520D
secondary
#8A2E8D
accent
#38EFEA
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040B02
muted
#797C78

Preview Lab

Preview with #0F520D

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

Preview Lab → · Contrast checker → · Palette generator →

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