#0F521D#0F521D

#0F521D is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.106 H 146.3°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#0F521D
RGBrgb(15, 82, 29)
HSLhsl(133, 69%, 19%)
HSVhsv(133, 82%, 32%)
CMYKcmyk(81.7%, 0%, 64.6%, 67.8%)
CIE-LABlab(29.97, -32.83, 24.93)
CIE-LCHlch(29.97, 41.23, 142.79°)
OKLaboklab(38.54% -0.0884 0.0589)
OKLCHoklch(38.54% 0.106 146.3)
XYZxyz(3.4358, 6.2245, 2.1825)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F521D #520F44
analogous
#23520F #0F521D #0F523F
triadic
#0F521D #1D0F52 #521D0F
tetradic
#0F521D #0F2352 #520F44 #523F0F
square
#0F521D #0F2352 #520F44 #523F0F
split-complementary
#0F521D #3F0F52 #520F23
monochromatic
#051A09 #061E0B #0F521D #18862F #22B942

Accessibility & contrast

On white

9.35
#0F521D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#0F521D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F521D
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F521D#FFFFFF#000000##FFFFFF
##0F521D1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A17
Deuteranopia (green-blind)
#4C4521
Tritanopia (blue-blind)
#005046
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f521d;
/* rgb */ color: rgb(15, 82, 29);
/* oklch */ color: oklch(38.5% 0.106 146.3);
Tailwind
colors: {
  custom: {
    50: '#5a835b',
    500: '#0f521d',
    950: '#000000',
  },
}
SCSS
$custom: #0f521d;
$custom-light: #5a835b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f521d",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 29
  },
  "hsl": {
    "h": 132.537,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3854,
    "c": 0.10626,
    "h": 146.3
  },
  "luminance": 0.06225
}

Semantic roles & 50–950 ramp

primary
#0F521D
secondary
#8C3179
accent
#3CC7EC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0F521D

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

Preview Lab → · Contrast checker → · Palette generator →

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