#0F5216#0F5216

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

Color values

HEX#0F5216
RGBrgb(15, 82, 22)
HSLhsl(126, 69%, 19%)
HSVhsv(126, 82%, 32%)
CMYKcmyk(81.7%, 0%, 73.2%, 67.8%)
CIE-LABlab(29.90, -33.75, 28.40)
CIE-LCHlch(29.90, 44.10, 139.92°)
OKLaboklab(38.45% -0.0912 0.0655)
OKLCHoklch(38.45% 0.112 144.3)
XYZxyz(3.3589, 6.1937, 1.7774)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5216 #520F4B
analogous
#2A520F #0F5216 #0F5238
triadic
#0F5216 #160F52 #52160F
tetradic
#0F5216 #0F2A52 #520F4B #52380F
square
#0F5216 #0F2A52 #520F4B #52380F
split-complementary
#0F5216 #380F52 #520F2A
monochromatic
#051A07 #061E08 #0F5216 #188624 #22B932

Accessibility & contrast

On white

9.38
#0F5216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#0F5216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5216
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5216#FFFFFF#000000##FFFFFF
##0F52161.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0E
Deuteranopia (green-blind)
#4C441C
Tritanopia (blue-blind)
#005046
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0f5216;
/* rgb */ color: rgb(15, 82, 22);
/* oklch */ color: oklch(38.5% 0.112 144.3);
Tailwind
colors: {
  custom: {
    50: '#5b8356',
    500: '#0f5216',
    950: '#000000',
  },
}
SCSS
$custom: #0f5216;
$custom-light: #5b8356;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5216",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 22
  },
  "hsl": {
    "h": 126.269,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38453,
    "c": 0.11232,
    "h": 144.3
  },
  "luminance": 0.06194
}

Semantic roles & 50–950 ramp

primary
#0F5216
secondary
#8C3183
accent
#3CDAEC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0F5216

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

Preview Lab → · Contrast checker → · Palette generator →

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